We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3954f59 commit f6d43c5Copy full SHA for f6d43c5
tests/tools/test_logging.py
@@ -71,6 +71,9 @@ def test_command_close_stdout(tmpdir):
71
with args.other as _:
72
pass
73
74
- assert not args.input.closed
+ # pytest patches sys.input on some platforms it seems
75
+ if hasattr(args.input, "closed"):
76
+ assert not args.input.closed
77
+
78
assert not args.output.closed
79
assert args.other.closed
0 commit comments