Add Python JSON tests (#407)

This commit is contained in:
Gautham 2022-05-14 01:32:15 +05:30 committed by GitHub
parent d25a67f4eb
commit f6df29cc3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 536 additions and 345 deletions

View file

@ -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