Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
6c9e5b779f4cbb16f529f0451a07eaa57caad896
/
Lib
/
importlib
/
test
b3aedd4
#9424: Replace deprecated assert* methods in the Python test suite.
by Ezio Melotti
· 14 years ago
186335b
Make sure that no __pycache__ directory is needlessly left behind when testing
by Brett Cannon
· 14 years ago
5db0c94
Add importlib benchmarks which try to be "realistic" by importing the decimal
by Brett Cannon
· 14 years ago
cbe1a4e
Add comma grouping to max result so it's easier to read.
by Brett Cannon
· 14 years ago
3b0a19e
Add benchmarks for importing just source w/o writing bytecode, importing source
by Brett Cannon
· 14 years ago
7b9bcb8
Touch up comments and code along with outputting what the unit of measure is.
by Brett Cannon
· 14 years ago
418182e
Make importlib.abc.SourceLoader the primary mechanism for importlib.
by Brett Cannon
· 14 years ago
d71bed3
Make importlib.abc.SourceLoader the primary mechanism for importlib.
by Brett Cannon
· 14 years ago
2cf1585
Fix a spelling mistake in a comment.
by Brett Cannon
· 14 years ago
61b1425
Make importlib.abc.SourceLoader the primary mechanism for importlib.
by Brett Cannon
· 14 years ago
b7183d8
Add an inheritance test for importlib.abc.SourceLoader.
by Brett Cannon
· 14 years ago
0cf9e6a
Move importlib.abc.SourceLoader to _bootstrap.
by Brett Cannon
· 14 years ago
2215c14
fix test with more obviously incorrect bytecode
by Benjamin Peterson
· 14 years ago
f23e374
Implement importlib.abc.SourceLoader and deprecate PyLoader and PyPycLoader.
by Brett Cannon
· 14 years ago
c56b094
Move over to assertIs.
by Brett Cannon
· 14 years ago
04b5684
Repair test failure. Bug 8727.
by Barry Warsaw
· 14 years ago
50ad588
Remove unnecessary XXX
by Barry Warsaw
· 14 years ago
28a691b
PEP 3147
by Barry Warsaw
· 14 years ago
9b3e15f
Importlib was not matching import's handling of .pyc files where it had less
by Brett Cannon
· 15 years ago
e52c919
When trying to write new bytecode, importlib was not catching the IOError
by Brett Cannon
· 15 years ago
cfed029
Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib places
by Brett Cannon
· 15 years ago
0ae4511
importlib.test.source.util referenced variables in the 'finally' part of a
by Brett Cannon
· 15 years ago
23cf574
Rework importlib benchmarks so that they measure number of executions within a
by Brett Cannon
· 15 years ago
d95863f
Clarify why test_import is failing under importlib.
by Brett Cannon
· 15 years ago
1c1dcbf
Trying to import a submodule from another module and not a package was raising
by Brett Cannon
· 15 years ago
82a23fe
test_pep3120 is no longer a problem for importlib as the test was tweaked.
by Brett Cannon
· 15 years ago
de4ebfe
When the globals argument to importlib.__import__() contained any value for
by Brett Cannon
· 15 years ago
ce7d4cb
Turn on verbose2 for importlib.test.regrtest so as to see failures when they occur.
by Brett Cannon
· 15 years ago
6afbaef
Raise TypeError if the name given to importlib.__import__() lacks an rpartition
by Brett Cannon
· 15 years ago
44b28a9
Fix the importlib_only test decorator to work again; don't capture the flag variable as it might change later.
by Brett Cannon
· 15 years ago
a650360
Use the public API, not a private one.
by Brett Cannon
· 15 years ago
9e0e1a6
Allow importlib.__import__ to accept any iterable for fromlist. Discovered when
by Brett Cannon
· 15 years ago
12c3fc9
Provide module docstrings for the two main test drivers in importlib that
by Brett Cannon
· 15 years ago
6cc8310
Tweak importlib.test.regrtest to only specify the implicit tests to exclude
by Brett Cannon
· 15 years ago
4d75fc1
Have importlib raise ImportError if None is found in sys.modules. This matches
by Brett Cannon
· 15 years ago
5e129db
Add a test file to importlib that runs regrtest using importlib.__import__.
by Brett Cannon
· 15 years ago
5c26eaa
Add support for a --builtin argument to importlib.test to trigger running
by Brett Cannon
· 15 years ago
2153dc0
Move over to using assertRaises as a context manager for importlib tests.
by Brett Cannon
· 15 years ago
c5951fc
Make __package__ setting tests specific to importlib. Also move to assertRaises context manager.
by Brett Cannon
· 15 years ago
6d2bb7f
Move a test-skipping decorator over to unittest.skipIf.
by Brett Cannon
· 15 years ago
6919427
Implement the PEP 302 protocol for get_filename() as
by Brett Cannon
· 15 years ago
64ef00f
Importlib's documentation said that importlib.abc.PyLoader inherited from
by Brett Cannon
· 15 years ago
4dc3193
Remove custom test-skipping code in importlib tests for unittest code.
by Brett Cannon
· 15 years ago
3c27384
Some tests in importlib.test.source.test_abc_loader were testing what happens
by Brett Cannon
· 15 years ago
0a49c58
Update importlib.test.source.test_abc_loader to new features added in Python 3.1.
by Brett Cannon
· 15 years ago
b49c70c
Importlib was using custom code to discover all test modules in importlib.test.
by Brett Cannon
· 15 years ago
9b2611e
Remove unused import for function that no longer exists.
by R. David Murray
· 15 years ago
c9c0f20
convert old fail* assertions to assert*
by Benjamin Peterson
· 15 years ago
554290d
Fixup/simplify another nested context manager.
by Raymond Hettinger
· 15 years ago
1262e7c
Tests for case-senstivity were not being skipped for darwin when installed on a
by Brett Cannon
· 15 years ago
3c33b83
fix name again
by Benjamin Peterson
· 15 years ago
3e0c917
fix name
by Benjamin Peterson
· 15 years ago
309633d
fix naming
by Benjamin Peterson
· 15 years ago
8d55a9e
os.path.listdir -> os.listdir
by Benjamin Peterson
· 15 years ago
5561982
importlib.test.source.test_abc_loader was making a bad assumption that all file
by Brett Cannon
· 15 years ago
f86213f
Make a test in importlib have a more robust test value.
by Brett Cannon
· 15 years ago
978259e
Give a more informative message on an importlib test upon failure.
by Brett Cannon
· 15 years ago
a3d056e
Check that on a platform that is expected to have a case-insensitive filesystem
by Brett Cannon
· 15 years ago
8593a75
Fix importlib.machinery.PathFinder.find_module() to essentially skip over None
by Brett Cannon
· 15 years ago
6ae7a7d
Add simple tests for __import__ for future optimizations to importlib.
by Brett Cannon
· 15 years ago
8d11013
Implement InspectLoader for FrozenImporter.
by Brett Cannon
· 16 years ago
a113ac5
Implement InspectLoader for BuiltinImporter.
by Brett Cannon
· 16 years ago
7aa21f7
A few more docstring/API cleanups for importlib.
by Brett Cannon
· 16 years ago
f87e04d
Finish properly hiding importlib implementation code.
by Brett Cannon
· 16 years ago
2cf03a8
Implement importlib.util.set_loader: a decorator to automatically set
by Brett Cannon
· 16 years ago
d43b30b
Implement get_source for importlib.abc.PyLoader using source_path and get_data.
by Brett Cannon
· 16 years ago
2a922ed
Introduce importlib.abc. The module contains various ABCs related to imports
by Brett Cannon
· 16 years ago
ba3fcf1
Remove a dead XXX comment.
by Brett Cannon
· 16 years ago
f2b55fb
Make importlib.test.source.util.write_bytecode reset sys.dont_write_bytecode.
by Brett Cannon
· 16 years ago
79925fd
Skip case-sensitivity tests for extension modules if _testcapi cannot be found.
by Brett Cannon
· 16 years ago
435aad8
Rename importlib.util.set___package__ to set_package.
by Brett Cannon
· 16 years ago
b5f03c6
Add a test for importlib.import_module.
by Brett Cannon
· 16 years ago
57b46f5
Expose importlib.util.set___package__.
by Brett Cannon
· 16 years ago
91cf882
Refactor source and bytecode file loaders in importlib so that there
by Brett Cannon
· 16 years ago
4afab6b
Separate out finder for source and source/bytecode.
by Brett Cannon
· 16 years ago
2dee597
Do some cleanup in importlib:
by Brett Cannon
· 16 years ago
d2e7b33
Implement the more specific PEP 302 semantics for loaders and what happens upon
by Brett Cannon
· 16 years ago
32732e3
Change importlib.machinery.PathFinder to not have implicit semantics (that's
by Brett Cannon
· 16 years ago
7bf8d4e
Add the missing importlib.test.extension.util.
by Brett Cannon
· 16 years ago
534b2cd
Factor out helper code from importlib.test.extension.test_path_hook.
by Brett Cannon
· 16 years ago
06c9d96
Move importlib completely over to using rpartition and accepting the empty
by Brett Cannon
· 16 years ago
d94e558
Move importlib's built-in importer to use rpartition for __package__.
by Brett Cannon
· 16 years ago
eb2e0dd
Move importlib's frozen importer over to rpartition for setting __package__.
by Brett Cannon
· 16 years ago
2c318a1
Rewrite the code implementing __import__ for importlib. Now it is much simpler
by Brett Cannon
· 16 years ago
6411aa5
Finish implementing tests for importlib.machinery.PathFinder by testing that
by Brett Cannon
· 16 years ago
1f9bcd3
Add tests for using sys.path_hooks by importlib.machinery.PathFinder.
by Brett Cannon
· 16 years ago
48f5c4ee
Implement test for sys.path_importer_cache having None for
by Brett Cannon
· 16 years ago
939ea76
Begin writing tests for importlib.machinery.PathFinder.
by Brett Cannon
· 16 years ago
d720b36
Move import semantic util code to importlib.test.import_.util.
by Brett Cannon
· 16 years ago
bcb26c5
Rename importlib.test.support to importlib.test.util.
by Brett Cannon
· 16 years ago
ae9ad18
Do not execute the .pyc/.pyo files as well as the .py files.
by Brett Cannon
· 16 years ago
4ee2cda
Split out support code that is specific to source tests out of
by Brett Cannon
· 16 years ago
30b047d
Move source loader tests (including reload tests) over to
by Brett Cannon
· 16 years ago
223a19d
Fix importlib.machinery.FrozenImporter.load_module() to set __package__
by Brett Cannon
· 16 years ago
e70485e
Move extension module loader tests over to importlib.test.abc.LoaderTests.
by Brett Cannon
· 16 years ago
d98a6a0
Move built-in loader tests to importlib.test.abc.LoaderTests.
by Brett Cannon
· 16 years ago
f254a75
Merge testing ABCs for importlib into importlib.test.abc.
by Brett Cannon
· 16 years ago
a74ccea
Initial take on importlib.test.loader_tests.
by Brett Cannon
· 16 years ago
d197a2b
Move importlib.test.frozen.test_finder over to importlib.test.finder_tests.
by Brett Cannon
· 16 years ago
1d0b43d
Move importlib.test.builtin.test_finder over to importlib.test.finder_tests.
by Brett Cannon
· 16 years ago
Next »