Skip to content

Commit 04e3670

Browse files
authored
gh-138122: Fix permission error detection in tachyon's test (#141897)
1 parent 0387a8e commit 04e3670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_profiling/test_sampling_profiler/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ def test_script_error_treatment(self):
724724
)
725725
output = result.stdout + result.stderr
726726

727-
if "Permission Error" in output:
727+
if "PermissionError" in output:
728728
self.skipTest("Insufficient permissions for remote profiling")
729729
self.assertNotIn("Script file not found", output)
730730
self.assertIn(

0 commit comments

Comments
 (0)