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 499fb95 commit 7da1ed4Copy full SHA for 7da1ed4
Lib/test/test_site.py
@@ -212,7 +212,7 @@ def test_addsitedir_hidden_pth_file(self):
212
try:
213
pth_file.create()
214
st = os.stat(pth_file.file_path)
215
- os.chflags(target_file, st.st_flags | stat.UF_IMMUTABLE)
+ os.chflags(pth_file.file_path, st.st_flags | stat.UF_IMMUTABLE)
216
site.addsitedir(pth_file.base_dir, set())
217
self.assertNotIn(site.makepath(pth_file.good_dir_path)[0], sys.path)
218
self.assertIn(pth_file.base_dir, sys.path)
0 commit comments