summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2022-03-11 23:32:33 -0500
committerJeff Forcier <jeff@bitprophet.org>2022-03-11 23:32:33 -0500
commitabbf52a8c390b38ab4b8d83fc23bbaab3a31abb4 (patch)
treed7811ed641c13b9967436cc793aac7878e005179
parent286bd9f0374922341d48923b0c3ef09aab57919f (diff)
downloadparamiko-abbf52a8c390b38ab4b8d83fc23bbaab3a31abb4.tar.gz
blacken
-rw-r--r--tests/test_pkey.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_pkey.py b/tests/test_pkey.py
index d44a96ac..97b406c2 100644
--- a/tests/test_pkey.py
+++ b/tests/test_pkey.py
@@ -718,7 +718,9 @@ class KeyTest(unittest.TestCase):
# Write out in new location
key.write_private_key_file(new, password=newpassword)
# Expected open via os module
- os_.open.assert_called_once_with(new, flags=os.O_WRONLY | os.O_CREAT | os.O_TRUNC, mode=o600)
+ os_.open.assert_called_once_with(
+ new, flags=os.O_WRONLY | os.O_CREAT | os.O_TRUNC, mode=o600
+ )
os_.fdopen.assert_called_once_with(os_.open.return_value, mode="w")
# Old chmod still around for backwards compat
os_.chmod.assert_called_once_with(new, o600)