Skip to content

Commit a1e0101

Browse files
Fix test skip on macOS
1 parent 688b00d commit a1e0101

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test_iconvcodec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_decode(self):
2323
string = b"Hallo".decode("T.61")
2424
self.assertEqual(string, "Hallo")
2525

26-
@unittest.skipIf(sys.platform.startswith("mac"), "Test fails on macOS")
26+
@unittest.skipIf(sys.platform == "darwin", "Test fails on macOS")
2727
def test_transliterate(self):
2828
string = "abc ß α € àḃç"
2929
bytestring = string.encode("ASCII//TRANSLIT")

0 commit comments

Comments
 (0)