Skip to content

Commit d34deb3

Browse files
jeremyd2019lazka
authored andcommitted
mingw_smoketests: fix _UCRT condition
The prior detection missed ARM (32 and 64) being UCRT. Since there are fewer non-UCRT platforms, list those two instead of trying to extend the list of UCRT.
1 parent 5bdfadf commit d34deb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mingw_smoketests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
else:
3535
SEP = "\\"
3636

37-
_UCRT = "clang" in sysconfig.get_platform() or "ucrt" in sysconfig.get_platform()
37+
_UCRT = sysconfig.get_platform() not in ('mingw_x86_64', 'mingw_i686')
3838

3939

4040
class Tests(unittest.TestCase):

0 commit comments

Comments
 (0)