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
350b5183
Kaydet (Commit)
350b5183
authored
Eyl 10, 2015
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix test_time on platform with 32-bit time_t type
Filter also values for check_float_rounding().
üst
4237d347
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
test_time.py
Lib/test/test_time.py
+6
-3
No files found.
Lib/test/test_time.py
Dosyayı görüntüle @
350b5183
...
...
@@ -918,7 +918,8 @@ class TestOldPyTime(CPyTimeTestCase, unittest.TestCase):
value_filter
=
self
.
time_t_filter
)
self
.
check_float_rounding
(
pytime_object_to_time_t
,
self
.
decimal_round
)
self
.
decimal_round
,
value_filter
=
self
.
time_t_filter
)
def
create_converter
(
self
,
sec_to_unit
):
def
converter
(
secs
):
...
...
@@ -943,7 +944,8 @@ class TestOldPyTime(CPyTimeTestCase, unittest.TestCase):
value_filter
=
self
.
time_t_filter
)
self
.
check_float_rounding
(
pytime_object_to_timeval
,
self
.
create_converter
(
SEC_TO_US
))
self
.
create_converter
(
SEC_TO_US
),
value_filter
=
self
.
time_t_filter
)
def
test_object_to_timespec
(
self
):
from
_testcapi
import
pytime_object_to_timespec
...
...
@@ -953,7 +955,8 @@ class TestOldPyTime(CPyTimeTestCase, unittest.TestCase):
value_filter
=
self
.
time_t_filter
)
self
.
check_float_rounding
(
pytime_object_to_timespec
,
self
.
create_converter
(
SEC_TO_NS
))
self
.
create_converter
(
SEC_TO_NS
),
value_filter
=
self
.
time_t_filter
)
if
__name__
==
"__main__"
:
...
...
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