Skip to content

Commit

Permalink
fixed a windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Aug 18, 2024
1 parent 615ebdb commit 07b65de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/documentation/test_quick_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def test_run_hello_world_windows():
stdout_buffer = StringIO()

with redirect_stdout(stdout_buffer), redirect_stderr(stderr_buffer):
result = suby('python -c "print^(\'hello, world^!\'^)"')
result = suby('python -c "print^(\'hello, world^!\'^)"', catch_exceptions=True)
print(result)

assert stderr_buffer.getvalue() == ''
assert stdout_buffer.getvalue() == 'hello, world!\n'
Expand Down

0 comments on commit 07b65de

Please sign in to comment.