Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Port CPython 3.6.5 test cases #8

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
More clear comments about the problems
  • Loading branch information
wdv4758h committed Jun 3, 2018
commit 176eb8a04fb5e04f056939fd2d7ae58881eb4047
4 changes: 2 additions & 2 deletions tests/cpython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class RustTest(unittest.TestCase):
json = hyperjson
loads = staticmethod(hyperjson.loads)
dumps = staticmethod(hyperjson.dumps)
# FIXME: WTF
# FIXME: hyperjson does not have this
JSONDecodeError = staticmethod(pyjson.JSONDecodeError)
# JSONDecodeError = staticmethod(hyperjson.JSONDecodeError)

Expand All @@ -57,7 +57,7 @@ def test_cjson(self):

class TestRustTest(RustTest):
def test_hyperjson(self):
# FIXME:
# FIXME: hyperjson does not have any of this
pass
# self.assertEqual(self.json.scanner.make_scanner.__module__, 'hyperjson')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No clue what these scanner things are. I guess we should document that incompatibility somewhere. 🤔

# self.assertEqual(self.json.decoder.scanstring.__module__, 'hyperjson')
Expand Down