diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2008-12-14 10:54:50 +0000 |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2008-12-14 10:54:50 +0000 |
commit | a2053475bb8a908e1cc80c765e02c98a6f354b19 (patch) | |
tree | 8449947a38952aaf7e64a7320c58fedf85fa07db /Lib/test/test_doctest.py | |
parent | 3e16f3dd7f9219a19e5802b721b19fde93fc56a5 (diff) | |
download | cpython-git-a2053475bb8a908e1cc80c765e02c98a6f354b19.tar.gz |
Fix several issues relating to access to source code inside zipfiles. Initial work by Alexander Belopolsky. See Misc/NEWS in this checkin for details.
Diffstat (limited to 'Lib/test/test_doctest.py')
-rw-r--r-- | Lib/test/test_doctest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py index 943fb82182..a8128687b1 100644 --- a/Lib/test/test_doctest.py +++ b/Lib/test/test_doctest.py @@ -6,6 +6,9 @@ from test import test_support import doctest import warnings +# NOTE: There are some additional tests relating to interaction with +# zipimport in the test_zipimport_support test module. + ###################################################################### ## Sample Objects (used by test cases) ###################################################################### @@ -369,7 +372,7 @@ We'll simulate a __file__ attr that ends in pyc: >>> tests = finder.find(sample_func) >>> print tests # doctest: +ELLIPSIS - [<DocTest sample_func from ...:13 (1 example)>] + [<DocTest sample_func from ...:16 (1 example)>] The exact name depends on how test_doctest was invoked, so allow for leading path components. |