Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0644b338
Commit
0644b338
authored
Dec 06, 2018
by
Victor Stinner
Committed by
GitHub
Dec 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-35363: test_eintr uses print(flush=True) (GH-10990)
parent
388c8c20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Lib/test/test_eintr.py
Lib/test/test_eintr.py
+3
-2
No files found.
Lib/test/test_eintr.py
View file @
0644b338
...
...
@@ -20,12 +20,13 @@ class EINTRTests(unittest.TestCase):
args
=
[
"-u"
,
tester
,
"-v"
]
if
support
.
verbose
:
print
()
print
(
"--- run eintr_tester.py ---"
)
print
(
"--- run eintr_tester.py ---"
,
flush
=
True
)
# In verbose mode, the child process inherit stdout and stdout,
# to see output in realtime and reduce the risk of loosing output.
args
=
[
sys
.
executable
,
"-E"
,
"-X"
,
"faulthandler"
,
*
args
]
proc
=
subprocess
.
run
(
args
)
print
(
f"--- eintr_tester.py completed: exit code
{
proc
.
returncode
}
---"
)
print
(
f"--- eintr_tester.py completed: "
f"exit code
{
proc
.
returncode
}
---"
,
flush
=
True
)
if
proc
.
returncode
:
self
.
fail
(
"eintr_tester.py failed"
)
else
:
...
...
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