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
1c371b25
Kaydet (Commit)
1c371b25
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
6fb8fb17
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 @
1c371b25
...
...
@@ -759,13 +759,13 @@ class TestMaildir(TestMailbox, unittest.TestCase):
self
.
assertIsNot
(
match
,
None
,
"Invalid file name: '
%
s'"
%
tail
)
groups
=
match
.
groups
()
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'"
%
(
previous_groups
[
0
],
groups
[
0
]))
self
.
assertTrue
(
int
(
groups
[
1
]
>=
previous_groups
[
1
])
or
groups
[
0
]
!=
groups
[
1
]
,
"Non-monotonic milliseconds: '
%
s' before '
%
s'"
%
(
previous_groups
[
1
],
groups
[
1
]))
if
int
(
groups
[
0
])
==
int
(
previous_groups
[
0
]):
self
.
assertGreaterEqual
(
int
(
groups
[
1
]),
int
(
previous_groups
[
1
])
,
"Non-monotonic milliseconds: '
%
s' before '
%
s'"
%
(
previous_groups
[
1
],
groups
[
1
]))
self
.
assertEqual
(
int
(
groups
[
2
]),
pid
,
"Process ID mismatch: '
%
s' should be '
%
s'"
%
(
groups
[
2
],
pid
))
...
...
Misc/NEWS
Dosyayı görüntüle @
1c371b25
...
...
@@ -457,6 +457,9 @@ Extension Modules
Tests
-----
- Issue #15802: Fix test logic in TestMaildir.test_create_tmp. Patch
by Serhiy Storchaka.
- Issue #15747: ZFS always returns EOPNOTSUPP when attempting to set the
UF_IMMUTABLE flag (via either chflags or lchflags); refactor affected
tests in test_posix.py to account for this.
...
...
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