Thanks to visit codestin.com Credit goes to github.com
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 482f7a2 commit 93710c1Copy full SHA for 93710c1
1 file changed
Lib/test/test_site.py
@@ -501,15 +501,15 @@ def _create_underpth_exe(self, lines):
501
print(line, file=f)
502
return exe_file
503
except:
504
- os.unlink(_pth_file)
505
- os.unlink(exe_file)
+ test.support.unlink(_pth_file)
+ test.support.unlink(exe_file)
506
raise
507
508
@classmethod
509
def _cleanup_underpth_exe(self, exe_file):
510
_pth_file = os.path.splitext(exe_file)[0] + '._pth'
511
512
513
514
515
def _calc_sys_path_for_underpth_nosite(self, sys_prefix, lines):
0 commit comments