From abbf52a8c390b38ab4b8d83fc23bbaab3a31abb4 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 11 Mar 2022 23:32:33 -0500 Subject: blacken --- tests/test_pkey.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/test_pkey.py') 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) -- cgit v1.2.3