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
7afd3f53
Kaydet (Commit)
7afd3f53
authored
Nis 20, 2010
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix versionadded in unittest.rst.
üst
7aa6da05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
unittest.rst
Doc/library/unittest.rst
+6
-6
No files found.
Doc/library/unittest.rst
Dosyayı görüntüle @
7afd3f53
...
...
@@ -272,7 +272,7 @@ unittest supports three command options.
run. Output during a passing test is discarded. Output is echoed normally
on test fail or error and is added to the failure messages.
..
versionadded:: 2.7
..
versionadded:: 3.2
The command line options ``-c``, ``-b`` and ``-f`` where added.
The command line can also be used for test discovery, for running all of the
...
...
@@ -284,7 +284,7 @@ tests in a project or just a subset.
Test Discovery
--------------
.. versionadded::
2.7
.. versionadded::
3.2
Unittest supports simple test discovery. For a project's tests to be
compatible with test discovery they must all be importable from the top level
...
...
@@ -765,7 +765,7 @@ Test cases
Calling this during the a test method or :meth:`setUp` skips the current
test. See :ref:`unittest-skipping` for more information.
.. versionadded::
2.7
.. versionadded::
3.1
.. method:: debug()
...
...
@@ -920,7 +920,7 @@ Test cases
a regular expression object or a string containing a regular expression
suitable for use by :func:`re.search`.
.. versionadded::
2.7
.. versionadded::
3.2
.. method:: assertIn(first, second, msg=None)
...
...
@@ -1563,7 +1563,7 @@ a
only be echoed onto the real ``sys.stdout`` and ``sys.stderr`` if the test
fails or errors. Any output is also attached to the failure / error message.
.. versionadded::
2.7
.. versionadded::
3.2
.. attribute:: failfast
...
...
@@ -1571,7 +1571,7 @@ a
If set to true :meth:`stop` will be called on the first failure or error,
halting the test run.
.. versionadded::
2.7
.. versionadded::
3.2
.. method:: wasSuccessful()
...
...
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