gh-140741: Fix test added in gh-140745 (#140760)

Commit
This commit is contained in:
Stan Ulbrych 2025-10-29 16:10:58 +00:00 committed by GitHub
parent 8706167474
commit c74793c450
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)