mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
parent
8706167474
commit
c74793c450
1 changed files with 2 additions and 0 deletions
|
|
@ -2093,6 +2093,8 @@ def test_script_error_treatment(self):
|
|||
)
|
||||
output = result.stdout + result.stderr
|
||||
|
||||
if "PermissionError" in output:
|
||||
self.skipTest("Insufficient permissions for remote profiling")
|
||||
self.assertNotIn("Script file not found", output)
|
||||
self.assertIn("No such file or directory: 'nonexistent_file.txt'", output)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue