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
a8e7d903
Kaydet (Commit)
a8e7d903
authored
Eyl 18, 2017
tarafından
Victor Stinner
Kaydeden (comit)
GitHub
Eyl 18, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
os.test_utime_current(): tolerate 50 ms delta (#3646)
üst
e727d41f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
test_os.py
Lib/test/test_os.py
+4
-5
No files found.
Lib/test/test_os.py
Dosyayı görüntüle @
a8e7d903
...
...
@@ -619,14 +619,13 @@ class UtimeTests(unittest.TestCase):
if
not
self
.
support_subsecond
(
self
.
fname
):
delta
=
1.0
el
if
os
.
name
==
'nt'
:
el
se
:
# On Windows, the usual resolution of time.time() is 15.6 ms.
# bpo-30649: Tolerate 50 ms for slow Windows buildbots.
#
# x86 Gentoo Refleaks 3.x once failed with dt=20.2 ms. So use
# also 50 ms on other platforms.
delta
=
0.050
else
:
# bpo-30649: PPC64 Fedora 3.x buildbot requires
# at least a delta of 14 ms
delta
=
0.020
st
=
os
.
stat
(
self
.
fname
)
msg
=
(
"st_time=
%
r, current=
%
r, dt=
%
r"
%
(
st
.
st_mtime
,
current
,
st
.
st_mtime
-
current
))
...
...
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