Skip to content

Commit 8b79a85

Browse files
committed
Changes suggested by at-henryiii
1 parent 50d530f commit 8b79a85

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_iostream.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@
66

77
import pytest
88

9+
import env
910
from pybind11_tests import iostream as m
1011

11-
if sys.platform == "win32":
12+
if env.WIN:
1213
wv_build = sys.getwindowsversion().build
1314
skip_if_ge = 26100
1415
if wv_build >= skip_if_ge:
1516
pytest.skip(
1617
f"Windows build {wv_build} >= {skip_if_ge}:"
17-
" Skipping iostream capture (redirection regression under investigation)",
18+
" Skipping iostream capture (redirection regression needs investigation)",
1819
allow_module_level=True,
1920
)
2021

0 commit comments

Comments
 (0)