This instance will be upgraded to Heptapod 0.31.0rc on 2022-05-19 at 11:00 UTC+2 (a few minutes of down time)

Commit 7717c9bb authored by Carl Friedrich Bolz-Tereick's avatar Carl Friedrich Bolz-Tereick
Browse files

test showing the problem of #3108

parent 05302c0046ff
......@@ -95,3 +95,19 @@ class AppTest(object):
assert not 1 in d
assert __pypy__.strategy(d) == "UnicodeDictStrategy"
assert list(d) == [u"a", u"b"]
def test_bug(self):
import _pypyjson
a = """
{
"top": {
"k": "8",
"k": "8",
"boom": 1
}
}
"""
d = _pypyjson.loads(a)
str(d)
repr(d)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment