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
7fa4a8f1
Kaydet (Commit)
7fa4a8f1
authored
Eki 06, 2014
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Closes #12148: clarify "or's together option flags" in doctest docs.
üst
4dd27a3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doctest.rst
Doc/library/doctest.rst
+3
-3
No files found.
Doc/library/doctest.rst
Dosyayı görüntüle @
7fa4a8f1
...
@@ -865,8 +865,8 @@ and :ref:`doctest-simple-testfile`.
...
@@ -865,8 +865,8 @@ and :ref:`doctest-simple-testfile`.
nothing at the end. In verbose mode, the summary is detailed, else the summary
nothing at the end. In verbose mode, the summary is detailed, else the summary
is very brief (in fact, empty if all tests passed).
is very brief (in fact, empty if all tests passed).
Optional argument *optionflags*
or'
s
together
option
flags
.
See
section
Optional argument *optionflags*
(default value 0) takes the bitwise-or of
:
ref
:`
doctest
-
options
`.
option flags. See section
:ref:`doctest-options`.
Optional argument *raise_on_error* defaults to false. If true, an exception is
Optional argument *raise_on_error* defaults to false. If true, an exception is
raised upon the first failure or unexpected exception in an example. This
raised upon the first failure or unexpected exception in an example. This
...
@@ -1097,7 +1097,7 @@ reporting flags specific to :mod:`unittest` support, via this function:
...
@@ -1097,7 +1097,7 @@ reporting flags specific to :mod:`unittest` support, via this function:
Set the :mod:`doctest` reporting flags to use.
Set the :mod:`doctest` reporting flags to use.
Argument
*
flags
*
or
's together
option flags. See section
Argument *flags*
takes the bitwise-or of
option flags. See section
:ref:`doctest-options`. Only "reporting flags" can be used.
:ref:`doctest-options`. Only "reporting flags" can be used.
This is a module-global setting, and affects all future doctests run by module
This is a module-global setting, and affects all future doctests run by module
...
...
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