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
e5eebedd
Kaydet (Commit)
e5eebedd
authored
Eyl 02, 2013
tarafından
Eli Bendersky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix docstring and some indentation
üst
c56e0e39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
regrtest.py
Lib/test/regrtest.py
+4
-4
No files found.
Lib/test/regrtest.py
Dosyayı görüntüle @
e5eebedd
...
@@ -918,14 +918,15 @@ def runtest(test, verbose, quiet,
...
@@ -918,14 +918,15 @@ def runtest(test, verbose, quiet,
test -- the name of the test
test -- the name of the test
verbose -- if true, print more messages
verbose -- if true, print more messages
quiet -- if true, don't print 'skipped' messages (probably redundant)
quiet -- if true, don't print 'skipped' messages (probably redundant)
test_times -- a list of (time, test_name) pairs
huntrleaks -- run multiple times to test for leaks; requires a debug
huntrleaks -- run multiple times to test for leaks; requires a debug
build; a triple corresponding to -R's three arguments
build; a triple corresponding to -R's three arguments
use_resources -- list of extra resources to use
output_on_failure -- if true, display test output on failure
output_on_failure -- if true, display test output on failure
timeout -- dump the traceback and exit if a test takes more than
timeout -- dump the traceback and exit if a test takes more than
timeout seconds
timeout seconds
failfast, match_tests -- See regrtest command-line flags for these.
Returns
one of the test result
constants:
Returns
the tuple result, test_time, where result is one of the
constants:
INTERRUPTED KeyboardInterrupt when run under -j
INTERRUPTED KeyboardInterrupt when run under -j
RESOURCE_DENIED test skipped because resource denied
RESOURCE_DENIED test skipped because resource denied
SKIPPED test skipped for some other reason
SKIPPED test skipped for some other reason
...
@@ -1276,8 +1277,7 @@ def runtest_inner(test, verbose, quiet,
...
@@ -1276,8 +1277,7 @@ def runtest_inner(test, verbose, quiet,
test_runner
=
lambda
:
support
.
run_unittest
(
tests
)
test_runner
=
lambda
:
support
.
run_unittest
(
tests
)
test_runner
()
test_runner
()
if
huntrleaks
:
if
huntrleaks
:
refleak
=
dash_R
(
the_module
,
test
,
test_runner
,
refleak
=
dash_R
(
the_module
,
test
,
test_runner
,
huntrleaks
)
huntrleaks
)
test_time
=
time
.
time
()
-
start_time
test_time
=
time
.
time
()
-
start_time
except
support
.
ResourceDenied
as
msg
:
except
support
.
ResourceDenied
as
msg
:
if
not
quiet
:
if
not
quiet
:
...
...
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