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
62510dce
Kaydet (Commit)
62510dce
authored
Ock 31, 2014
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #20452: test_asyncio: Add more info if the test fails
üst
1506df26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
test_base_events.py
Lib/test/test_asyncio/test_base_events.py
+7
-2
No files found.
Lib/test/test_asyncio/test_base_events.py
Dosyayı görüntüle @
62510dce
...
...
@@ -120,8 +120,13 @@ class BaseEventLoopTests(unittest.TestCase):
self
.
loop
.
call_at
(
when
,
cb
)
t0
=
self
.
loop
.
time
()
self
.
loop
.
run_forever
()
t1
=
self
.
loop
.
time
()
self
.
assertTrue
(
0.09
<=
t1
-
t0
<=
0.9
,
t1
-
t0
)
dt
=
self
.
loop
.
time
()
-
t0
self
.
assertTrue
(
0.09
<=
dt
<=
0.9
,
# Issue #20452: add more info in case of failure,
# to try to investigate the bug
(
dt
,
self
.
loop
.
_granularity
,
time
.
get_clock_info
(
'monotonic'
)))
def
test_run_once_in_executor_handle
(
self
):
def
cb
():
...
...
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