Skip to content

Commit

Permalink
Fix assert test
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Targett <[email protected]>
  • Loading branch information
peter-targett committed Nov 13, 2024
1 parent e6b80a1 commit 4ae2fec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/test_serializable_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,10 @@ def test_imath(self):
otio.schema.V2d(0.0, 0.0), otio.schema.V2d(16.0, 9.0))
so = otio.core.SerializableObjectWithMetadata()
so.metadata["box"] = b
self.assertEqual(so.metadata["box"], b)
self.assertEqual(repr(so.metadata["box"]), repr(b))
v = [b.min, b.max]
so.metadata["vectors"] = v
self.assertEqual(
so.metadata["vectors"],
[otio.schema.V2d(0.0, 0.0), otio.schema.V2d(16.0, 9.0)]
)
self.assertEqual(repr(so.metadata["vectors"]), repr(v))


class VersioningTests(unittest.TestCase, otio_test_utils.OTIOAssertions):
Expand Down

0 comments on commit 4ae2fec

Please sign in to comment.