diff options
| author | J08nY | 2025-03-08 16:12:05 +0100 |
|---|---|---|
| committer | J08nY | 2025-03-08 16:32:26 +0100 |
| commit | eaadd3e8a271fdbc0f6c409826d814fde7f9ef28 (patch) | |
| tree | 7f6643e999550d45c89a11f5b7932eeb011a3340 /test | |
| parent | 86768f810937382983c426a8151a26698afda3e8 (diff) | |
| download | pyecsca-eaadd3e8a271fdbc0f6c409826d814fde7f9ef28.tar.gz pyecsca-eaadd3e8a271fdbc0f6c409826d814fde7f9ef28.tar.zst pyecsca-eaadd3e8a271fdbc0f6c409826d814fde7f9ef28.zip | |
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" |
