Skip to content

Commit 2bd3ac5

Browse files
committed
Update test
1 parent 29fb6c0 commit 2bd3ac5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_platform.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,10 @@ def test_ios_ver(self):
532532
self.assertEqual(override.model, "Whiz")
533533
self.assertTrue(override.is_simulator)
534534

535-
@unittest.skipIf(support.is_emscripten, "Does not apply to Emscripten")
536535
def test_libc_ver(self):
536+
if support.is_emscripten:
537+
assert platform.libc_ver() == ("emscripten", "4.0.12")
538+
return
537539
# check that libc_ver(executable) doesn't raise an exception
538540
if os.path.isdir(sys.executable) and \
539541
os.path.exists(sys.executable+'.exe'):

0 commit comments

Comments
 (0)