Skip to content

Commit 0a00b77

Browse files
committed
Correct test so it will run on Windows.
1 parent 57920bb commit 0a00b77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_tags.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def test_python_host_platform(monkeypatch):
7878
@pytest.mark.skipif(sys.version_info < (3, 13), reason='requires Python 3.13 or higher')
7979
def test_ios_platform_tag(monkeypatch):
8080
# Mock being on iOS
81+
monkeypatch.setattr(sys.implementation, '_multiarch', 'arm64-iphoneos')
8182
monkeypatch.setattr(sysconfig, 'get_platform', Mock(return_value='ios-13.0-arm64-iphoneos'))
8283
ios_ver = platform.IOSVersionInfo('iOS', '13.0', 'iPhone', False)
8384
monkeypatch.setattr(platform, 'ios_ver', Mock(return_value=ios_ver))

0 commit comments

Comments
 (0)