We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528fdd6 commit 99a79eaCopy full SHA for 99a79ea
1 file changed
Lib/test/test_doctest.py
@@ -1314,6 +1314,12 @@ def optionflags(): r"""
1314
... # doctest: +NORMALIZE_WHITESPACE
1315
[0, 1, ..., 18, 19]
1316
1317
+The IGNORE_CASE flag causes the test runner to ignore case when
1318
+matching the expected output to the actual output
1319
+ >>> print("Hello World") # doctest: +IGNORE_CASE
1320
+ hello world
1321
+
1322
1323
The SKIP flag causes an example to be skipped entirely. I.e., the
1324
example is not run. It can be useful in contexts where doctest
1325
examples serve as both documentation and test cases, and an example
0 commit comments