ec.c, catacomb/__init__.py: Return tail from `parse'; provide `fromstring'.
[catacomb-python] / t / t-ec.py
index 01b5f27..d854216 100644 (file)
--- a/t/t-ec.py
+++ b/t/t-ec.py
@@ -251,7 +251,7 @@ class TestCurves (T.GenericTestMixin):
 
   def test_tinycurves(me):
     me._test_curve(C.ECInfo(E, 2*P, 13, 2), checkfail = True)
-    ei, _ = C.ECInfo.parse("binpoly: 0x13; bin: 0x01, 0x08; 0x02, 0x0c: 5*4")
+    ei = C.ECInfo.fromstring("binpoly: 0x13; bin: 0x01, 0x08; 0x02, 0x0c: 5*4")
     me._test_curve(ei, checkfail = True)
 
 TestCurves.generate_testcases((name, C.eccurves[name]) for name in