summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pkey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pkey.py b/tests/test_pkey.py
index 3d5f0326..f673254f 100644
--- a/tests/test_pkey.py
+++ b/tests/test_pkey.py
@@ -267,7 +267,7 @@ class KeyTest (unittest.TestCase):
try:
key.write_private_key_file(newfile, password=newpassword)
# Verify the inner key data still matches (when no ValueError)
- key2 = RSAKey(newfile, password=newpassword)
+ key2 = RSAKey(filename=newfile, password=newpassword)
self.assertEqual(key, key2)
finally:
os.remove(newfile)