OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:test_DocTest
(Results
1 - 4
of
4
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_doctest.py
278
def
test_DocTest
(): r"""
428
>>> import test.
test_doctest
429
>>> old = test.
test_doctest
.__file__
430
>>> test.
test_doctest
.__file__ = '
test_doctest
.pyc'
437
The exact name depends on how
test_doctest
was invoked, so allow for
441
'...
test_doctest
.py'
443
>>> test.
test_doctest
.__file__ = old
535
>>> # Use module=test.
test_doctest
, to prevent doctest from
537
>>> import test.
test_doctest
2673
from test import
test_doctest
namespace
[
all
...]
test_zipimport_support.py
32
from test import (
test_doctest
, sample_doctest, sample_doctest_no_doctests,
namespace
92
#
test_doctest
itself, rewriting it a bit to cope with a new
95
test_src = inspect.getsource(
test_doctest
)
97
"from test import
test_doctest
",
98
"import test_zipped_doctest as
test_doctest
")
99
test_src = test_src.replace("test.
test_doctest
",
108
src = src.replace("test.
test_doctest
", "test_zipped_doctest")
158
test_zipped_doctest.
test_DocTest
,
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_doctest.py
278
def
test_DocTest
(): r"""
428
>>> import test.
test_doctest
429
>>> old = test.
test_doctest
.__file__
430
>>> test.
test_doctest
.__file__ = '
test_doctest
.pyc'
437
The exact name depends on how
test_doctest
was invoked, so allow for
441
'...
test_doctest
.py'
443
>>> test.
test_doctest
.__file__ = old
535
>>> # Use module=test.
test_doctest
, to prevent doctest from
537
>>> import test.
test_doctest
2673
from test import
test_doctest
namespace
[
all
...]
test_zipimport_support.py
32
from test import (
test_doctest
, sample_doctest, sample_doctest_no_doctests,
namespace
92
#
test_doctest
itself, rewriting it a bit to cope with a new
95
test_src = inspect.getsource(
test_doctest
)
97
"from test import
test_doctest
",
98
"import test_zipped_doctest as
test_doctest
")
99
test_src = test_src.replace("test.
test_doctest
",
108
src = src.replace("test.
test_doctest
", "test_zipped_doctest")
158
test_zipped_doctest.
test_DocTest
,
Completed in 5230 milliseconds