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
ee627883
Kaydet (Commit)
ee627883
authored
Mar 26, 2010
tarafından
Michael Foord
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Move a support TestCase out of the main namespace in unittest.test.test_suite
üst
95ac82bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
test_suite.py
Lib/unittest/test/test_suite.py
+7
-7
No files found.
Lib/unittest/test/test_suite.py
Dosyayı görüntüle @
ee627883
...
@@ -6,15 +6,15 @@ from .support import LoggingResult, TestEquality
...
@@ -6,15 +6,15 @@ from .support import LoggingResult, TestEquality
### Support code for Test_TestSuite
### Support code for Test_TestSuite
################################################################
################################################################
# This will be loaded as a test - problem?
class
Test
(
object
):
class
Foo
(
unittest
.
TestCase
):
class
Foo
(
unittest
.
TestCase
):
def
test_1
(
self
):
pass
def
test_1
(
self
):
pass
def
test_2
(
self
):
pass
def
test_2
(
self
):
pass
def
test_3
(
self
):
pass
def
test_3
(
self
):
pass
def
runTest
(
self
):
pass
def
runTest
(
self
):
pass
def
_mk_TestSuite
(
*
names
):
def
_mk_TestSuite
(
*
names
):
return
unittest
.
TestSuite
(
Foo
(
n
)
for
n
in
names
)
return
unittest
.
TestSuite
(
Test
.
Foo
(
n
)
for
n
in
names
)
################################################################
################################################################
...
...
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