From e694108f41c83dabf47e4a52f6f1243dddf289c4 Mon Sep 17 00:00:00 2001 From: Darby Johnston Date: Thu, 9 Oct 2025 15:34:03 -0700 Subject: [PATCH] Initialize variables Signed-off-by: Darby Johnston --- tests/test_v2d.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_v2d.py b/tests/test_v2d.py index a8b3ef1bd..8c5680efd 100644 --- a/tests/test_v2d.py +++ b/tests/test_v2d.py @@ -101,12 +101,12 @@ def test_limits(self): self.assertEqual(otio.schema.V2d.baseTypeEpsilon(), sys.float_info.epsilon) def test_json_serialization(self): - serialized = otio.adapters.otio_json.write_to_string(otio.schema.V2d()) + serialized = otio.adapters.otio_json.write_to_string(otio.schema.V2d(0.1, 0.2)) json_v2d = json.loads(serialized) self.assertEqual(json_v2d["OTIO_SCHEMA"], "V2d.1") def test_serialization_round_trip(self): - v2d = otio.schema.V2d() + v2d = otio.schema.V2d(0.3, 0.4) serialized = otio.adapters.otio_json.write_to_string(v2d) deserialized = otio.adapters.otio_json.read_from_string(serialized) self.assertEqual(v2d, deserialized)