diff options
| author | J08nY | 2020-12-17 20:27:58 +0100 |
|---|---|---|
| committer | J08nY | 2020-12-17 20:27:58 +0100 |
| commit | bde7fbf5ddc6a3a59828337174e102ef9175baa3 (patch) | |
| tree | 897f4b678532ec05b85b2f7006391a43919ef2a0 /test | |
| parent | e74b0a6181eb5ac0af93bde0df95915f98088666 (diff) | |
| download | pyecsca-bde7fbf5ddc6a3a59828337174e102ef9175baa3.tar.gz pyecsca-bde7fbf5ddc6a3a59828337174e102ef9175baa3.tar.zst pyecsca-bde7fbf5ddc6a3a59828337174e102ef9175baa3.zip | |
Make Mod a dynamic class.
Fixes #6.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ec/test_mod.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ec/test_mod.py b/test/ec/test_mod.py index 71a5a74..bf08cd9 100644 --- a/test/ec/test_mod.py +++ b/test/ec/test_mod.py @@ -89,7 +89,7 @@ class ModTests(TestCase): def test_undefined(self): u = Undefined() for k, meth in u.__class__.__dict__.items(): - if k in ("__module__", "__init__", "__doc__", "__hash__", "__abstractmethods__", "_abc_impl"): + if k in ("__module__", "__new__", "__init__", "__doc__", "__hash__", "__abstractmethods__", "_abc_impl"): continue args = [5 for _ in range(meth.__code__.co_argcount - 1)] if k == "__repr__": |
