Skip to content

Commit 7bc105a

Browse files
committed
Make test version independent
1 parent 908c537 commit 7bc105a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/test-data/run-classes.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2872,5 +2872,5 @@ def test_function():
28722872
assert(hasattr(derived_inst, 'attr_instance') == False)
28732873

28742874
ext_inst = ExtensionClass()
2875-
with assertRaises(AttributeError, "'ExtensionClass' object has no attribute 'attr_instance' and no __dict__ for setting new attributes"):
2875+
with assertRaises(AttributeError):
28762876
setattr(ext_inst, 'attr_instance', 6)

0 commit comments

Comments
 (0)