]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
add __file__ to the globals available for tests loaded via DocFileSuite;
authorFred Drake <fdrake@acm.org>
Tue, 21 Dec 2004 23:46:34 +0000 (23:46 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 21 Dec 2004 23:46:34 +0000 (23:46 +0000)
commit7c404a4bf7b9061ee013bef361b6eba951218d80
tree921da1debae9f4ac526fc818426d6ba55896bb8f
parente57d7b179a6171b013030c6751e8c0999251200b
add __file__ to the globals available for tests loaded via DocFileSuite;
this is useful for locating supporting data files, just as it is in Python
modules
Doc/lib/libdoctest.tex
Lib/doctest.py
Lib/test/test_doctest.py
Lib/test/test_doctest3.txt [new file with mode: 0644]