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