aboutsummaryrefslogtreecommitdiff
path: root/test/ec/test_params.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ec/test_params.py')
-rw-r--r--test/ec/test_params.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ec/test_params.py b/test/ec/test_params.py
index da293f4..b4d55ee 100644
--- a/test/ec/test_params.py
+++ b/test/ec/test_params.py
@@ -17,3 +17,6 @@ class DomainParameterTests(TestCase):
self.assertEqual(self.secp128r1, self.secp128r1)
self.assertNotEqual(self.secp128r1, self.curve25519)
self.assertNotEqual(self.secp128r1, None)
+
+ def test_str(self):
+ self.assertEqual(str(self.secp128r1), "DomainParameters(secg/secp128r1)")