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
9c02c2ff
Kaydet (Commit)
9c02c2ff
authored
Kas 03, 2010
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Minor cleanups to unittest doc.
üst
4370b301
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
unittest.rst
Doc/library/unittest.rst
+4
-4
No files found.
Doc/library/unittest.rst
Dosyayı görüntüle @
9c02c2ff
...
@@ -914,7 +914,7 @@ Test cases
...
@@ -914,7 +914,7 @@ Test cases
.. versionadded:: 3.1
.. versionadded:: 3.1
.. method:: assertIsInstance(obj, cls
[, msg]
)
.. method:: assertIsInstance(obj, cls
, msg=None
)
This signals a test failure if *obj* is not an instance of *cls* (which
This signals a test failure if *obj* is not an instance of *cls* (which
can be a class or a tuple of classes, as supported by :func:`isinstance`).
can be a class or a tuple of classes, as supported by :func:`isinstance`).
...
@@ -922,7 +922,7 @@ Test cases
...
@@ -922,7 +922,7 @@ Test cases
.. versionadded:: 3.2
.. versionadded:: 3.2
.. method:: assertNotIsInstance(obj, cls
[, msg]
)
.. method:: assertNotIsInstance(obj, cls
, msg=None
)
The inverse of the :meth:`assertIsInstance` method. This signals a test
The inverse of the :meth:`assertIsInstance` method. This signals a test
failure if *obj* is an instance of *cls*.
failure if *obj* is an instance of *cls*.
...
@@ -1258,7 +1258,7 @@ Test cases
...
@@ -1258,7 +1258,7 @@ Test cases
.. method:: assertMultiLineEqual(
self,
first, second, msg=None)
.. method:: assertMultiLineEqual(first, second, msg=None)
Test that the multiline string *first* is equal to the string *second*.
Test that the multiline string *first* is equal to the string *second*.
When not equal a diff of the two strings highlighting the differences
When not equal a diff of the two strings highlighting the differences
...
@@ -1562,7 +1562,7 @@ Loading and running tests
...
@@ -1562,7 +1562,7 @@ Loading and running tests
:class:`TestLoader` objects have the following methods:
:class:`TestLoader` objects have the following methods:
a
.. method:: loadTestsFromTestCase(testCaseClass)
.. method:: loadTestsFromTestCase(testCaseClass)
Return a suite of all tests cases contained in the :class:`TestCase`\ -derived
Return a suite of all tests cases contained in the :class:`TestCase`\ -derived
...
...
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