Skip to content

Commit 1d9d99d

Browse files
committed
Fix test_struct_stdlib
1 parent 25251c1 commit 1d9d99d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/suite/test_struct_stdlib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
## Run selected tests from test_struct from StdLib
77
##
88

9-
from iptest import is_ironpython, generate_suite, run_test, is_net60, is_net80
9+
from iptest import is_ironpython, generate_suite, run_test, net_version
1010

1111
import test.test_struct
1212

@@ -19,7 +19,7 @@ def load_tests(loader, standard_tests, pattern):
1919
test.test_struct.StructTest('test_calcsize'), # AssertionError: 4 not greater than or equal to 8
2020
test.test_struct.StructTest('test_count_overflow'), # AssertionError: error not raised by calcsize
2121
]
22-
if not is_net60 and not is_net80:
22+
if net_version < (6, 0):
2323
failing_tests += [
2424
test.test_struct.UnpackIteratorTest('test_half_float'), # https://github.com/IronLanguages/ironpython3/issues/1458
2525
]

0 commit comments

Comments
 (0)