aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorJ08nY2020-12-17 20:27:58 +0100
committerJ08nY2020-12-17 20:27:58 +0100
commitbde7fbf5ddc6a3a59828337174e102ef9175baa3 (patch)
tree897f4b678532ec05b85b2f7006391a43919ef2a0 /test
parente74b0a6181eb5ac0af93bde0df95915f98088666 (diff)
downloadpyecsca-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.py2
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__":