Skip to content

Commit

Permalink
mingw_smoketests: fix _UCRT condition
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jeremyd2019 authored and lazka committed Aug 25, 2023
1 parent 716cb91 commit 1d99821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mingw_smoketests.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
else:
SEP = "\\"

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


class Tests(unittest.TestCase):
Expand Down

0 comments on commit 1d99821

Please sign in to comment.