mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00

This primarily adds more powerful ways to work with unittest, including spiffy support for building suites out of doctests in non-Python "text files".
7 lines
165 B
Text
7 lines
165 B
Text
This is a sample doctest in a text file.
|
|
|
|
In this example, we'll rely on some silly setup:
|
|
|
|
>>> import test.test_doctest
|
|
>>> test.test_doctest.sillySetup
|
|
True
|