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
910df329
Kaydet (Commit)
910df329
authored
Mar 13, 2012
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#8315: add automatic unittest test discovery in test.test_email
üst
d2edfd64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
__init__.py
Lib/test/test_email/__init__.py
+10
-0
NEWS
Misc/NEWS
+5
-0
No files found.
Lib/test/test_email/__init__.py
Dosyayı görüntüle @
910df329
...
...
@@ -5,6 +5,16 @@ import test.support
import
email
from
test.test_email
import
__file__
as
landmark
# Run all tests in package for '-m unittest test.test_email'
def
load_tests
(
loader
,
standard_tests
,
pattern
):
this_dir
=
os
.
path
.
dirname
(
__file__
)
if
pattern
is
None
:
pattern
=
"test*"
package_tests
=
loader
.
discover
(
start_dir
=
this_dir
,
pattern
=
pattern
)
standard_tests
.
addTests
(
package_tests
)
return
standard_tests
# used by regrtest and __main__.
def
test_main
():
here
=
os
.
path
.
dirname
(
__file__
)
...
...
Misc/NEWS
Dosyayı görüntüle @
910df329
...
...
@@ -83,6 +83,11 @@ Extension Modules
-
Issue
#
14259
:
The
finditer
()
method
of
re
objects
did
not
take
any
keyword
arguments
,
contrary
to
the
documentation
.
Tests
-----
-
Issue
#
8315
:
(
partial
fix
)
python
-
m
unittest
test
.
test_email
now
works
.
What
's New in Python 3.3.0 Alpha 1?
===================================
...
...
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