We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98a5e49 + 1b697fc commit 2bec929Copy full SHA for 2bec929
tests/test_process.py
@@ -118,8 +118,8 @@ def test_run_cmd_arg_return_code(self):
118
def test_run_duplicate_streams_timeout(self):
119
"""Test raise TimeoutExpired. """
120
with self.assertRaises(securesystemslib.process.subprocess.TimeoutExpired):
121
- securesystemslib.process.run_duplicate_streams(sys.executable + " --version",
122
- timeout=-1)
+ securesystemslib.process.run_duplicate_streams(sys.executable +
+ " -c \"while True: pass\"", timeout=-1)
123
124
125
def test__default_timeout(self):
0 commit comments