summaryrefslogtreecommitdiff
path: root/Lib/importlib/test
AgeCommit message (Expand)AuthorLines
2010-11-20#9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti-23/+23
2010-08-22Make sure that no __pycache__ directory is needlessly left behind when testingBrett Cannon-7/+10
2010-07-22Add importlib benchmarks which try to be "realistic" by importing the decimalBrett Cannon-7/+50
2010-07-16Add comma grouping to max result so it's easier to read.Brett Cannon-1/+1
2010-07-16Add benchmarks for importing just source w/o writing bytecode, importing sourceBrett Cannon-14/+57
2010-07-15Touch up comments and code along with outputting what the unit of measure is.Brett Cannon-7/+10
2010-07-03Make importlib.abc.SourceLoader the primary mechanism for importlib.Brett Cannon-25/+36
2010-07-03Make importlib.abc.SourceLoader the primary mechanism for importlib.Brett Cannon-1/+32
2010-07-03Fix a spelling mistake in a comment.Brett Cannon-1/+1
2010-07-03Make importlib.abc.SourceLoader the primary mechanism for importlib.Brett Cannon-127/+223
2010-06-28Add an inheritance test for importlib.abc.SourceLoader.Brett Cannon-0/+5
2010-06-28Move importlib.abc.SourceLoader to _bootstrap.Brett Cannon-4/+3
2010-06-28fix test with more obviously incorrect bytecodeBenjamin Peterson-1/+1
2010-06-27Implement importlib.abc.SourceLoader and deprecate PyLoader and PyPycLoader.Brett Cannon-6/+394
2010-06-21Move over to assertIs.Brett Cannon-2/+2
2010-05-18Repair test failure. Bug 8727.Barry Warsaw-0/+3
2010-04-17Remove unnecessary XXXBarry Warsaw-1/+0
2010-04-17PEP 3147Barry Warsaw-15/+35
2010-02-19Importlib was not matching import's handling of .pyc files where it had lessBrett Cannon-24/+99
2009-11-07When trying to write new bytecode, importlib was not catching the IOErrorBrett Cannon-0/+26
2009-11-05Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib placesBrett Cannon-11/+4
2009-11-05importlib.test.source.util referenced variables in the 'finally' part of aBrett Cannon-2/+6
2009-09-03Rework importlib benchmarks so that they measure number of executions within aBrett Cannon-51/+52
2009-08-30Clarify why test_import is failing under importlib.Brett Cannon-2/+3
2009-08-30Trying to import a submodule from another module and not a package was raisingBrett Cannon-3/+6
2009-08-30test_pep3120 is no longer a problem for importlib as the test was tweaked.Brett Cannon-1/+0
2009-08-30When the globals argument to importlib.__import__() contained any value forBrett Cannon-7/+13
2009-08-30Turn on verbose2 for importlib.test.regrtest so as to see failures when they ...Brett Cannon-2/+1
2009-08-30Raise TypeError if the name given to importlib.__import__() lacks an rpartitionBrett Cannon-1/+22
2009-08-30Fix the importlib_only test decorator to work again; don't capture the flag v...Brett Cannon-1/+3
2009-08-30Use the public API, not a private one.Brett Cannon-1/+1
2009-08-30Allow importlib.__import__ to accept any iterable for fromlist. Discovered whenBrett Cannon-2/+9
2009-08-30Provide module docstrings for the two main test drivers in importlib thatBrett Cannon-2/+11
2009-08-30Tweak importlib.test.regrtest to only specify the implicit tests to excludeBrett Cannon-4/+6
2009-08-30Have importlib raise ImportError if None is found in sys.modules. This matchesBrett Cannon-4/+14
2009-08-27Add a test file to importlib that runs regrtest using importlib.__import__.Brett Cannon-0/+33
2009-08-27Add support for a --builtin argument to importlib.test to trigger runningBrett Cannon-0/+5
2009-08-27Move over to using assertRaises as a context manager for importlib tests.Brett Cannon-24/+36
2009-08-27Make __package__ setting tests specific to importlib. Also move to assertRais...Brett Cannon-4/+5
2009-08-27Move a test-skipping decorator over to unittest.skipIf.Brett Cannon-10/+3
2009-07-20Implement the PEP 302 protocol for get_filename() asBrett Cannon-4/+57
2009-07-20Importlib's documentation said that importlib.abc.PyLoader inherited fromBrett Cannon-14/+61
2009-07-20Remove custom test-skipping code in importlib tests for unittest code.Brett Cannon-13/+14
2009-07-20Some tests in importlib.test.source.test_abc_loader were testing what happensBrett Cannon-8/+16
2009-07-19Update importlib.test.source.test_abc_loader to new features added in Python ...Brett Cannon-17/+19
2009-07-15Importlib was using custom code to discover all test modules in importlib.test.Brett Cannon-31/+14
2009-07-01Remove unused import for function that no longer exists.R. David Murray-1/+0
2009-06-30convert old fail* assertions to assert*Benjamin Peterson-85/+85
2009-06-12Fixup/simplify another nested context manager.Raymond Hettinger-6/+3
2009-05-11Tests for case-senstivity were not being skipped for darwin when installed on aBrett Cannon-45/+37