mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Enable dict round trip test for json
This commit is contained in:
1 parent
950344990a
commit
e6f08cf93e
1 file changed
+1
-2
@@ -25,8 +25,7 @@ assert '[[1]]' == json.dumps(((1,),))
|
||||
assert [1, "string", 1.0, True] == json.loads(json.dumps((1, "string", 1.0, True)))
|
||||
|
||||
assert '{}' == json.dumps({})
|
||||
# TODO: uncomment once dict comparison is implemented
|
||||
# round_trip_test({'a': 'b'})
|
||||
round_trip_test({'a': 'b'})
|
||||
|
||||
assert 1 == json.loads("1")
|
||||
assert -1 == json.loads("-1")
|
||||
|
||||
Reference in new issue
Block a user