mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Add Python JSON tests (#407)
This commit is contained in:
parent
d25a67f4eb
commit
f6df29cc3d
24 changed files with 536 additions and 345 deletions
|
@ -1,3 +1,4 @@
|
|||
import sys
|
||||
import os
|
||||
import posixpath
|
||||
import unittest
|
||||
|
@ -338,6 +339,7 @@ class PosixPathTest(unittest.TestCase):
|
|||
finally:
|
||||
support.unlink(ABSTFN)
|
||||
|
||||
@unittest.skipIf(sys.platform == "cosmo", "symlink not present everywhere")
|
||||
@unittest.skipUnless(hasattr(os, "symlink"),
|
||||
"Missing symlink implementation")
|
||||
@skip_if_ABSTFN_contains_backslash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue