Skip to content

Commit c9c996d

Browse files
committed
Update test_v2d to support multiple exception types to support both imath 2 and 3
1 parent 0d9fb92 commit c9c996d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_v2d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ def test_normalize(self):
113113

114114
nv = otio.schema.V2d(0.0, 0.0)
115115

116-
with self.assertRaises(ValueError):
116+
with self.assertRaises((ValueError, RuntimeError)):
117117
nv.normalizeExc()
118118

119-
with self.assertRaises(ValueError):
119+
with self.assertRaises((ValueError, RuntimeError)):
120120
nv.normalizedExc()
121121

122122
def test_limits(self):

0 commit comments

Comments
 (0)