diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ec/test_mod.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ec/test_mod.py b/test/ec/test_mod.py index 13f8850..630a1ff 100644 --- a/test/ec/test_mod.py +++ b/test/ec/test_mod.py @@ -176,11 +176,16 @@ def test_undefined(): "__hash__", "__abstractmethods__", "_abc_impl", + "__firstlineno__", + "__static_attributes__", "__slots__", "x", "n" ): continue + if not hasattr(meth, "__code__"): + print("No code for", k) + continue args = [5 for _ in range(meth.__code__.co_argcount - 1)] if k == "__repr__": assert meth(u) == "Undefined" |
