We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 908c537 commit 7bc105aCopy full SHA for 7bc105a
mypyc/test-data/run-classes.test
@@ -2872,5 +2872,5 @@ def test_function():
2872
assert(hasattr(derived_inst, 'attr_instance') == False)
2873
2874
ext_inst = ExtensionClass()
2875
- with assertRaises(AttributeError, "'ExtensionClass' object has no attribute 'attr_instance' and no __dict__ for setting new attributes"):
+ with assertRaises(AttributeError):
2876
setattr(ext_inst, 'attr_instance', 6)
0 commit comments