Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / asyncssh / fix-sftp-chmod-test-nixos.patch
blobb53063313a478095d22aa54bf1defdad54f6b557
1 diff --git a/tests/test_sftp.py b/tests/test_sftp.py
2 index d94379f..4ee46a9 100644
3 --- a/tests/test_sftp.py
4 +++ b/tests/test_sftp.py
5 @@ -955,8 +955,8 @@ class _TestSFTP(_CheckSFTP):
7 try:
8 self._create_file('file')
9 - await sftp.chmod('file', 0o4321)
10 - self.assertEqual(stat.S_IMODE(os.stat('file').st_mode), 0o4321)
11 + await sftp.chmod('file', 0o1234)
12 + self.assertEqual(stat.S_IMODE(os.stat('file').st_mode), 0o1234)
13 finally:
14 remove('file')