Skip to content

Commit 7da1ed4

Browse files
Fix typo.
1 parent 499fb95 commit 7da1ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def test_addsitedir_hidden_pth_file(self):
212212
try:
213213
pth_file.create()
214214
st = os.stat(pth_file.file_path)
215-
os.chflags(target_file, st.st_flags | stat.UF_IMMUTABLE)
215+
os.chflags(pth_file.file_path, st.st_flags | stat.UF_IMMUTABLE)
216216
site.addsitedir(pth_file.base_dir, set())
217217
self.assertNotIn(site.makepath(pth_file.good_dir_path)[0], sys.path)
218218
self.assertIn(pth_file.base_dir, sys.path)

0 commit comments

Comments
 (0)