mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 11:14:38 +08:00
Fix test_inheritance test.
This commit is contained in:
1 parent
a83c6c5ce1
commit
b83cd272b5
1 file changed
+4
@@ -77,6 +77,10 @@ class ExceptionClassTests(unittest.TestCase):
|
||||
last_depth = depth
|
||||
finally:
|
||||
inheritance_tree.close()
|
||||
|
||||
# RUSTPYTHON specific
|
||||
exc_set.discard("JitError")
|
||||
|
||||
self.assertEqual(len(exc_set), 0, "%s not accounted for" % exc_set)
|
||||
|
||||
interface_tests = ("length", "args", "str", "repr")
|
||||
|
||||
Reference in new issue
Block a user