Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 15 lines 541 B view raw
1diff --git a/tests/test_sftp.py b/tests/test_sftp.py 2index db9cc88..234004b 100644 3--- a/tests/test_sftp.py 4+++ b/tests/test_sftp.py 5@@ -957,8 +957,8 @@ class _TestSFTP(_CheckSFTP): 6 7 try: 8 self._create_file('file') 9- yield from sftp.chmod('file', 0o4321) 10- self.assertEqual(stat.S_IMODE(os.stat('file').st_mode), 0o4321) 11+ yield from sftp.chmod('file', 0o1234) 12+ self.assertEqual(stat.S_IMODE(os.stat('file').st_mode), 0o1234) 13 finally: 14 remove('file') 15