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
356bdeb0
Kaydet (Commit)
356bdeb0
authored
Eyl 13, 2013
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules
üst
1d7c8c9a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
testcallable.py
Lib/unittest/test/testmock/testcallable.py
+4
-0
testmock.py
Lib/unittest/test/testmock/testmock.py
+0
-1
testpatch.py
Lib/unittest/test/testmock/testpatch.py
+0
-1
No files found.
Lib/unittest/test/testmock/testcallable.py
Dosyayı görüntüle @
356bdeb0
...
@@ -145,3 +145,7 @@ class TestCallable(unittest.TestCase):
...
@@ -145,3 +145,7 @@ class TestCallable(unittest.TestCase):
mock
.
wibble
.
assert_called_once_with
()
mock
.
wibble
.
assert_called_once_with
()
self
.
assertRaises
(
TypeError
,
mock
.
wibble
,
'some'
,
'args'
)
self
.
assertRaises
(
TypeError
,
mock
.
wibble
,
'some'
,
'args'
)
if
__name__
==
"__main__"
:
unittest
.
main
()
Lib/unittest/test/testmock/testmock.py
Dosyayı görüntüle @
356bdeb0
...
@@ -1399,6 +1399,5 @@ class MockTest(unittest.TestCase):
...
@@ -1399,6 +1399,5 @@ class MockTest(unittest.TestCase):
mock
.
foo
mock
.
foo
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
unittest
.
main
()
unittest
.
main
()
Lib/unittest/test/testmock/testpatch.py
Dosyayı görüntüle @
356bdeb0
...
@@ -1780,6 +1780,5 @@ class PatchTest(unittest.TestCase):
...
@@ -1780,6 +1780,5 @@ class PatchTest(unittest.TestCase):
self
.
assertIs
(
os
.
path
,
path
)
self
.
assertIs
(
os
.
path
,
path
)
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
unittest
.
main
()
unittest
.
main
()
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