Skip to content
Myr

fix windows import check

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent a9e62f5 · Browse files · 1 file+9 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+9 added−1 removed

  • tests:+9 added−1 removed

1 file+9 added−1 removed

modified:tests/test_imports.py+9 added-1 removed
51 unmodified lines
52 "weakref",53}5455if WIN:56 ALLOWED_IMPORTS.update(["ctypes", "ctypes.wintypes", "msvcrt", "time"])56 ALLOWED_IMPORTS.update(57 {58 "ctypes",59 "ctypes._layout",60 "ctypes.wintypes",61 "msvcrt",62 "time",63 }64 )656667def test_light_imports():68 c = subprocess.Popen(
10 unmodified lines