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
80f4553d
Kaydet (Commit)
80f4553d
authored
Eyl 01, 2012
tarafından
Petri Lehtinen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#15802: Fix test logic in TestMaildir.test_create_tmp
üst
f9e1f112
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
test_mailbox.py
Lib/test/test_mailbox.py
+5
-5
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_mailbox.py
Dosyayı görüntüle @
80f4553d
...
@@ -660,13 +660,13 @@ class TestMaildir(TestMailbox, unittest.TestCase):
...
@@ -660,13 +660,13 @@ class TestMaildir(TestMailbox, unittest.TestCase):
self
.
assertTrue
(
match
is
not
None
,
"Invalid file name: '
%
s'"
%
tail
)
self
.
assertTrue
(
match
is
not
None
,
"Invalid file name: '
%
s'"
%
tail
)
groups
=
match
.
groups
()
groups
=
match
.
groups
()
if
previous_groups
is
not
None
:
if
previous_groups
is
not
None
:
self
.
assert
True
(
int
(
groups
[
0
]
>=
previous_groups
[
0
]),
self
.
assert
GreaterEqual
(
int
(
groups
[
0
]),
int
(
previous_groups
[
0
]),
"Non-monotonic seconds: '
%
s' before '
%
s'"
%
"Non-monotonic seconds: '
%
s' before '
%
s'"
%
(
previous_groups
[
0
],
groups
[
0
]))
(
previous_groups
[
0
],
groups
[
0
]))
self
.
assertTrue
(
int
(
groups
[
1
]
>=
previous_groups
[
1
])
or
if
int
(
groups
[
0
])
==
int
(
previous_groups
[
0
]):
groups
[
0
]
!=
groups
[
1
]
,
self
.
assertGreaterEqual
(
int
(
groups
[
1
]),
int
(
previous_groups
[
1
])
,
"Non-monotonic milliseconds: '
%
s' before '
%
s'"
%
"Non-monotonic milliseconds: '
%
s' before '
%
s'"
%
(
previous_groups
[
1
],
groups
[
1
]))
(
previous_groups
[
1
],
groups
[
1
]))
self
.
assertTrue
(
int
(
groups
[
2
])
==
pid
,
self
.
assertTrue
(
int
(
groups
[
2
])
==
pid
,
"Process ID mismatch: '
%
s' should be '
%
s'"
%
"Process ID mismatch: '
%
s' should be '
%
s'"
%
(
groups
[
2
],
pid
))
(
groups
[
2
],
pid
))
...
...
Misc/NEWS
Dosyayı görüntüle @
80f4553d
...
@@ -352,6 +352,9 @@ Library
...
@@ -352,6 +352,9 @@ Library
Tests
Tests
-----
-----
- Issue #15802: Fix test logic in TestMaildir.test_create_tmp. Patch
by Serhiy Storchaka.
- Issue #15765: Extend a previous fix to Solaris and OpenBSD for quirky
- Issue #15765: Extend a previous fix to Solaris and OpenBSD for quirky
getcwd() behaviour (issue #9185) to NetBSD as well.
getcwd() behaviour (issue #9185) to NetBSD as well.
...
...
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