summary refs log blame commit diff
path: root/pkgs/development/python-modules/asyncssh/fix-sftp-chmod-test-nixos.patch
blob: 845139a4fecffcb6ae3c1ad633ba91063ee72d24 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                            
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
index db9cc88..234004b 100644
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -957,8 +957,8 @@ class _TestSFTP(_CheckSFTP):
 
         try:
             self._create_file('file')
-            yield from sftp.chmod('file', 0o4321)
-            self.assertEqual(stat.S_IMODE(os.stat('file').st_mode), 0o4321)
+            yield from sftp.chmod('file', 0o1234)
+            self.assertEqual(stat.S_IMODE(os.stat('file').st_mode), 0o1234)
         finally:
             remove('file')