We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ff81e commit 20a8ec2Copy full SHA for 20a8ec2
tests/run_tests.py
@@ -451,7 +451,7 @@ def test_unlink_backup_windows(self):
451
treeroot = join(self.tmpdir, 'rootparent')
452
shutil.copytree(join(TESTS, '11permission'), treeroot)
453
pto = patch_ng.fromfile(join(TESTS, '11permission', '11permission.patch'))
454
- some_file = join(TESTS, '11permission', 'some_file')
+ some_file = join(treeroot, 'some_file')
455
chmod(some_file, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
456
self.assertTrue(pto.apply(root=treeroot))
457
self.assertTrue(os.stat(some_file).st_mode, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
0 commit comments