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
042d8b68d17c
Commit
fcd58159
authored
Mar 06, 2021
by
Matti Picus
Browse files
Fix
bacb519b8262
: use python2 version not python3
parent
b9b46653cc00
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib-python/2.7/test/test_plistlib.py
View file @
042d8b68
...
...
@@ -221,9 +221,9 @@ class TestPlistlib(unittest.TestCase):
self
.
assertEqual
(
test2
,
result2
)
def
test_xml_plist_with_entity_decl
(
self
):
with
self
.
assertRaisesRegex
(
plistlib
.
InvalidFileException
,
with
self
.
assertRaisesRegex
p
(
ValueError
,
"XML entity declarations are not supported"
):
plistlib
.
loads
(
XML_PLIST_WITH_ENTITY
,
fmt
=
plistlib
.
FMT_XML
)
plistlib
.
readPlistFromString
(
XML_PLIST_WITH_ENTITY
)
def
test_main
():
test_support
.
run_unittest
(
TestPlistlib
)
...
...
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