Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PyPy
pypy
Commits
cf6733c5d221
Commit
926a14b4
authored
Jun 28, 2020
by
Yannick Jadoul
Browse files
Adapt expected filename in test_warnins.FinalizationTest
--HG-- branch : py3.7
parent
222ac5de5792
Pipeline
#7353
passed with stage
in 4 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib-python/3/test/test_warnings/__init__.py
View file @
cf6733c5
...
...
@@ -1292,9 +1292,7 @@ A()
import gc; gc.collect()
"""
rc
,
out
,
err
=
assert_python_ok
(
"-c"
,
code
)
# note: "__main__" filename is not correct, it should be the name
# of the script
self
.
assertEqual
(
err
.
decode
(),
'__main__:7: UserWarning: test'
)
self
.
assertEqual
(
err
.
decode
(),
'-c:7: UserWarning: test'
)
@
support
.
cpython_only
def
test_late_resource_warning
(
self
):
...
...
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