Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PyPy
pypy
Commits
73f583091cbf
Commit
7717c9bb
authored
Oct 31, 2019
by
Carl Friedrich Bolz-Tereick
Browse files
test showing the problem of
#3108
parent
05302c0046ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
pypy/objspace/std/test/test_jsondict.py
View file @
73f58309
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment