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
4a704d23
Kaydet (Commit)
4a704d23
authored
Haz 17, 2013
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
(Merge 3.3) regrtest.py: Fix typo in the usage of the faulthandler module
üst
9ce4f36a
4de701b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
regrtest.py
Lib/test/regrtest.py
+3
-3
No files found.
Lib/test/regrtest.py
Dosyayı görüntüle @
4a704d23
...
...
@@ -536,13 +536,13 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
# join it with the saved CWD so it ends up where the user expects.
testdir
=
os
.
path
.
join
(
support
.
SAVEDCWD
,
a
)
elif
o
==
'--timeout'
:
if
hasattr
(
faulthandler
,
'dump_traceback
s
_later'
):
if
hasattr
(
faulthandler
,
'dump_traceback_later'
):
timeout
=
float
(
a
)
if
timeout
<=
0
:
timeout
=
None
else
:
print
(
"Warning: The timeout option requires "
"faulthandler.dump_traceback
s
_later"
)
"faulthandler.dump_traceback_later"
)
timeout
=
None
elif
o
==
'--wait'
:
input
(
"Press any key to continue..."
)
...
...
@@ -972,7 +972,7 @@ def runtest(test, verbose, quiet,
support
.
use_resources
=
use_resources
use_timeout
=
(
timeout
is
not
None
)
if
use_timeout
:
faulthandler
.
dump_traceback
s
_later
(
timeout
,
exit
=
True
)
faulthandler
.
dump_traceback_later
(
timeout
,
exit
=
True
)
try
:
support
.
match_tests
=
match_tests
if
failfast
:
...
...
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