mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-138122: Fix permission error detection in tachyon's test (#141897)
This commit is contained in:
parent
0387a8e0f7
commit
04e3670f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -724,7 +724,7 @@ def test_script_error_treatment(self):
|
||||||
)
|
)
|
||||||
output = result.stdout + result.stderr
|
output = result.stdout + result.stderr
|
||||||
|
|
||||||
if "Permission Error" in output:
|
if "PermissionError" in output:
|
||||||
self.skipTest("Insufficient permissions for remote profiling")
|
self.skipTest("Insufficient permissions for remote profiling")
|
||||||
self.assertNotIn("Script file not found", output)
|
self.assertNotIn("Script file not found", output)
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue