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
02bf701b
Kaydet (Commit)
02bf701b
authored
Mar 02, 2013
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#17333: test_imaplib now works with unittest test discovery. Patch by Zachary Ware.
üst
4f4ba166
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
test_imaplib.py
Lib/test/test_imaplib.py
+3
-3
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_imaplib.py
Dosyayı görüntüle @
02bf701b
...
@@ -444,7 +444,7 @@ class RemoteIMAP_SSLTest(RemoteIMAPTest):
...
@@ -444,7 +444,7 @@ class RemoteIMAP_SSLTest(RemoteIMAPTest):
keyfile
=
CERTFILE
,
ssl_context
=
self
.
create_ssl_context
())
keyfile
=
CERTFILE
,
ssl_context
=
self
.
create_ssl_context
())
def
test_main
(
):
def
load_tests
(
*
args
):
tests
=
[
TestImaplib
]
tests
=
[
TestImaplib
]
if
support
.
is_resource_enabled
(
'network'
):
if
support
.
is_resource_enabled
(
'network'
):
...
@@ -459,9 +459,9 @@ def test_main():
...
@@ -459,9 +459,9 @@ def test_main():
RemoteIMAPTest
,
RemoteIMAP_SSLTest
,
RemoteIMAP_STARTTLSTest
,
RemoteIMAPTest
,
RemoteIMAP_SSLTest
,
RemoteIMAP_STARTTLSTest
,
])
])
support
.
run_unittest
(
*
tests
)
return
unittest
.
TestSuite
([
unittest
.
makeSuite
(
test
)
for
test
in
tests
]
)
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
support
.
use_resources
=
[
'network'
]
support
.
use_resources
=
[
'network'
]
test_
main
()
unittest
.
main
()
Misc/NEWS
Dosyayı görüntüle @
02bf701b
...
@@ -644,6 +644,9 @@ Tests
...
@@ -644,6 +644,9 @@ Tests
- Issue #15539: Added regression tests for Tools/scripts/pindent.py.
- Issue #15539: Added regression tests for Tools/scripts/pindent.py.
- Issue #17333: test_imaplib now works with unittest test discovery.
Patch by Zachary Ware.
- Issue #17082: test_dbm* now work with unittest test discovery.
- Issue #17082: test_dbm* now work with unittest test discovery.
Patch by Zachary Ware.
Patch by Zachary Ware.
...
...
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