Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
4f0bc7f7
Unverified
Kaydet (Commit)
4f0bc7f7
authored
May 25, 2018
tarafından
Victor Stinner
Kaydeden (comit)
GitHub
May 25, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
test.regrtest: flush stdout when display progress (#7105)
runtest_mp.py: call print() with flush=True.
üst
6e413f43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
runtest_mp.py
Lib/test/libregrtest/runtest_mp.py
+2
-2
No files found.
Lib/test/libregrtest/runtest_mp.py
Dosyayı görüntüle @
4f0bc7f7
...
@@ -183,7 +183,7 @@ def run_tests_multiprocess(regrtest):
...
@@ -183,7 +183,7 @@ def run_tests_multiprocess(regrtest):
except
queue
.
Empty
:
except
queue
.
Empty
:
running
=
get_running
(
workers
)
running
=
get_running
(
workers
)
if
running
and
not
regrtest
.
ns
.
pgo
:
if
running
and
not
regrtest
.
ns
.
pgo
:
print
(
'running:
%
s'
%
', '
.
join
(
running
))
print
(
'running:
%
s'
%
', '
.
join
(
running
)
,
flush
=
True
)
continue
continue
test
,
stdout
,
stderr
,
result
=
item
test
,
stdout
,
stderr
,
result
=
item
...
@@ -235,6 +235,6 @@ def run_tests_multiprocess(regrtest):
...
@@ -235,6 +235,6 @@ def run_tests_multiprocess(regrtest):
line
=
"Waiting for
%
s (
%
s tests)"
%
(
', '
.
join
(
running
),
len
(
running
))
line
=
"Waiting for
%
s (
%
s tests)"
%
(
', '
.
join
(
running
),
len
(
running
))
if
dt
>=
WAIT_PROGRESS
:
if
dt
>=
WAIT_PROGRESS
:
line
=
"
%
s since
%.0
f sec"
%
(
line
,
dt
)
line
=
"
%
s since
%.0
f sec"
%
(
line
,
dt
)
print
(
line
)
print
(
line
,
flush
=
True
)
for
worker
in
workers
:
for
worker
in
workers
:
worker
.
join
(
WAIT_PROGRESS
)
worker
.
join
(
WAIT_PROGRESS
)
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