Skip to content

Commit e5bd40e

Browse files
committed
revise stdout test for Win platform
1 parent 2ded77d commit e5bd40e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/test_direction.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ def mock_isatty():
150150
captured = capsys.readouterr()
151151
# must be in a tty to get ANSI color output
152152
# this is mocked above
153-
assert captured.out == (
154-
"[ uni2E2E ]: counter-clockwise\n"
155-
" with component 'question' transform: [[-1.0, 0], [0, 1.0]]\n"
153+
assert "[ uni2E2E ]: counter-clockwise" in captured.out
154+
155+
assert (
156+
" with component 'question' transform: [[-1.0, 0], [0, 1.0]]"
157+
in captured.out
156158
)

0 commit comments

Comments
 (0)