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.
1 parent 8ea8bce commit 503ce81Copy full SHA for 503ce81
tests/test_cli.py
@@ -66,6 +66,6 @@ def test_time_cli(all_cmd_time, tmpdir):
66
67
68
def test_err_cli():
69
- subp = subprocess.run('stagpy field', shell=True, capture_output=True)
+ subp = subprocess.run('stagpy field', shell=True, stderr=subprocess.PIPE)
70
reg = re.compile(br'^Oops!.*\nPlease.*\n\nNoParFileError.*$')
71
assert reg.match(subp.stderr)
0 commit comments