Skip to content
Prev Previous commit
Next Next commit
fixup! fixup! gh-138122: Refactor the CLI of profile.sampling into su…
…bcommands
  • Loading branch information
pablogsal committed Nov 21, 2025
commit 54be163eefdfcc0fbf4a4c365c56cfb385a62ac9
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def worker(x):
proc.kill()
stdout, stderr = proc.communicate()

if "PermissionError" in stderr:
if "Permission Error" in stderr:
self.skipTest("Insufficient permissions for remote profiling")

self.assertIn("Results: [2, 4, 6]", stdout)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def test_script_error_treatment(self):
)
output = result.stdout + result.stderr

if "PermissionError" in output:
if "Permission Error" in output:
self.skipTest("Insufficient permissions for remote profiling")
self.assertNotIn("Script file not found", output)
self.assertIn(
Expand Down
Loading