| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch ↵ | Ezio Melotti | 2013-03-16 | 1 | -3/+10 |
| | | | | | by Thomas Wouters. | ||||
| * | Issue #13863: fix incorrect .pyc timestamps on Windows / NTFS (apparently ↵ | Mark Dickinson | 2012-12-24 | 1 | -0/+41 |
| | | | | | due to buggy fstat) | ||||
| * | No reason to use a generator here | Nick Coghlan | 2012-10-19 | 1 | -9/+8 |
| | | |||||
| * | Issue #6074: Actually delete the source file in the test as intended | Nick Coghlan | 2012-10-19 | 1 | -1/+1 |
| | | |||||
| * | Issue #6074: Restore the long-broken support for running with read-only ↵ | Nick Coghlan | 2012-10-19 | 1 | -1/+47 |
| | | | | | source files on Windows | ||||
| * | Issue #15338: skip test_UNC_path when the current user doesn't have enough ↵ | Antoine Pitrou | 2012-07-13 | 1 | -0/+7 |
| | | | | | permissions to access the path. | ||||
| * | Moved symlink support into its own module. Ported can_symlink from Python ↵ | Jason R. Coombs | 2012-03-08 | 1 | -76/+5 |
| | | | | | 3.2, skipping symlink test when it cannot be invoked (such as when the symlink privilege is not present). | ||||
| * | Improve the test case to avoid spurious errors about already existing symlinks. | Jason R. Coombs | 2012-03-08 | 1 | -4/+14 |
| | | |||||
| * | Adding regression test for issue6727 | Jason R. Coombs | 2012-01-15 | 1 | -2/+116 |
| | | |||||
| * | Remove debug output, fix assert (hopefully) and exercise signedness issues a ↵ | Antoine Pitrou | 2012-01-25 | 1 | -1/+1 |
| | | | | | bit more. | ||||
| * | Skip test failure under OpenIndiana | Antoine Pitrou | 2012-01-25 | 1 | -0/+5 |
| | | |||||
| * | Make test work under 32-bit systems, and when invoked through ↵ | Antoine Pitrou | 2012-01-25 | 1 | -9/+16 |
| | | | | | | | Lib/test/regrtest.py (rather than `-m test.regrtest`) | ||||
| * | Issue #11235: Fix OverflowError when trying to import a source file whose ↵ | Antoine Pitrou | 2012-01-24 | 1 | -0/+13 |
| | | | | | modification time doesn't fit in a 32-bit timestamp. | ||||
| * | Fix test_import failure when run multiple times. | Antoine Pitrou | 2011-12-21 | 1 | -1/+4 |
| | | | | | (2.7-only) | ||||
| * | Issue #7732: Try to fix the a failing test on Windows | Victor Stinner | 2011-11-14 | 1 | -1/+2 |
| | | | | | | It doesn't matter if imp.find_module() fails with ImportError or IOError, but it should not crash. | ||||
| * | Issue #7732: Fix a crash on importing a module if a directory has the same name | Victor Stinner | 2011-09-23 | 1 | -0/+8 |
| | | | | | | | | | than a Python module (e.g. "__init__.py"): don't close the file twice. PyFile_FromFile() does also close the file if PyString_FromString() failed. It did already close the file on fill_file_fields() error (e.g. if the file is a directory). | ||||
| * | Merged revisions 87251 via svnmerge from | R. David Murray | 2010-12-15 | 1 | -1/+13 |
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87251 | r.david.murray | 2010-12-14 18:06:25 -0500 (Tue, 14 Dec 2010) | 4 lines #4236: avoid possible Fatal Error when import is called from __del__ Patch by Simon Cross, crasher test code by Martin von Löwis. ........ | ||||
| * | This test was not expected in r84100 (not yet ready). | Florent Xicluna | 2010-08-16 | 1 | -8/+0 |
| | | |||||
| * | Merged revisions 84097,84099 via svnmerge from | Florent Xicluna | 2010-08-16 | 1 | -12/+15 |
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84097 | florent.xicluna | 2010-08-16 20:41:19 +0200 (lun., 16 août 2010) | 1 line Use test.support and unittest features. Fix duplicated test (bad merge in r79033). Fix comment for issue #7902. ........ r84099 | florent.xicluna | 2010-08-16 21:03:05 +0200 (lun., 16 août 2010) | 1 line I get it wrong in r84097: s/relative/absolute/ ........ | ||||
| * | Turned out that if you used explicit relative import syntax | Brett Cannon | 2010-05-20 | 1 | -0/+12 |
| | | | | | | | | | | (e.g. from .os import sep) and it failed, import would still try the implicit relative import semantics of an absolute import (from os import sep). That's not right, so when level is negative, only do explicit relative import semantics. Fixes issue #7902. Thanks to Meador Inge for the patch. | ||||
| * | Fix and check cgi module deprecation warnings. Revert an unwanted rename in ↵ | Florent Xicluna | 2010-03-17 | 1 | -1/+1 |
| | | | | | test_import. | ||||
| * | Cleanup in test_import and test_coding. | Florent Xicluna | 2010-03-17 | 1 | -70/+50 |
| | | |||||
| * | Delete unused import. | Collin Winter | 2010-03-17 | 1 | -1/+0 |
| | | |||||
| * | Style cleanup in test_import. | Collin Winter | 2010-03-17 | 1 | -70/+73 |
| | | |||||
| * | #7092: Silence more py3k warnings. Patch by Florent Xicluna. | Ezio Melotti | 2010-02-03 | 1 | -12/+11 |
| | | |||||
| * | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -3/+3 |
| | | |||||
| * | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -9/+10 |
| | | | | | mistake. ( It may come in for sure tough) | ||||
| * | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -10/+9 |
| | | | | | Patch by flox | ||||
| * | Using CleanImport to revert a reload of the os module doesn't work due to ↵ | Nick Coghlan | 2009-10-18 | 1 | -4/+16 |
| | | | | | function registrations in copy_reg. The perils of reloading modules even for tests... | ||||
| * | Avoid replacing existing modules and sys.path in import tests | Nick Coghlan | 2009-10-17 | 1 | -4/+5 |
| | | |||||
| * | Curdir needs to be in the path for the test to work on all buildbots. | R. David Murray | 2009-07-09 | 1 | -0/+2 |
| | | | | | | (I copied this from another import test, but currently this will fail if TESTFN ends up in /tmp...see issue 2609). | ||||
| * | Specify umask in execute bit test to get consistent results | R. David Murray | 2009-07-09 | 1 | -0/+2 |
| | | | | | and make sure we test resetting all three execute bits. | ||||
| * | Make test work with -O. | R. David Murray | 2009-07-09 | 1 | -2/+8 |
| | | |||||
| * | Conditionalize test cleanup code to eliminate traceback, which will | R. David Murray | 2009-07-09 | 1 | -1/+1 |
| | | | | | hopefully reveal the real problem. | ||||
| * | Issue 6070: when creating a compiled file, after copying the mode bits, on | R. David Murray | 2009-07-07 | 1 | -0/+19 |
| | | | | | | posix zap the execute bit in case it was set on the .py file, since the compiled files are not directly executable on posix. Patch by Marco N. | ||||
| * | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -7/+7 |
| | | |||||
| * | Add a test for UNC import paths, see issue 3677 | Kristján Valur Jónsson | 2009-01-24 | 1 | -0/+21 |
| | | |||||
| * | Use shutil.rmtree rather than os.rmdir. | Antoine Pitrou | 2009-01-06 | 1 | -1/+1 |
| | | |||||
| * | Issue #1180193: When importing a module from a .pyc (or .pyo) file with | Antoine Pitrou | 2009-01-06 | 1 | -1/+93 |
| | | | | | | | | an existing .py counterpart, override the co_filename attributes of all code objects if the original filename is obsolete (which can happen if the file has been renamed, moved, or if it is accessed through different paths). Patch by Ziga Seilnacht and Jean-Paul Calderone. | ||||
| * | Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the ↵ | Nick Coghlan | 2008-09-11 | 1 | -7/+7 |
| | | | | | test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon) | ||||
| * | warnings.catch_warnings() now returns a list or None instead of the custom | Brett Cannon | 2008-09-09 | 1 | -8/+8 |
| | | | | | | | | | WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson. | ||||
| * | Fix issue 3221 by emitting a RuntimeWarning instead of raising SystemError ↵ | Nick Coghlan | 2008-07-13 | 1 | -3/+33 |
| | | | | | when the parent module can't be found during an absolute import (likely due to non-PEP 361 aware code which sets a module level __package__ attribute) | ||||
| * | Allow test_import to work when it is invoked directly | Benjamin Peterson | 2008-04-25 | 1 | -0/+2 |
| | | |||||
| * | Import relimport using a relative import. | Martin v. Löwis | 2008-03-19 | 1 | -1/+1 |
| | | |||||
| * | Issue #2400: Allow relative imports to "import *". | Martin v. Löwis | 2008-03-19 | 1 | -1/+13 |
| | | |||||
| * | Fixed #1776. __import__() no longer imports modules by file name | Christian Heimes | 2008-01-09 | 1 | -1/+11 |
| | | |||||
| * | Removed non ASCII text from test as requested by Guido. Sorry :/ | Christian Heimes | 2007-11-01 | 1 | -20/+2 |
| | | |||||
| * | Backport of import tests for bug http://bugs.python.org/issue1293 and bug ↵ | Christian Heimes | 2007-11-01 | 1 | -2/+43 |
| | | | | | http://bugs.python.org/issue1342 | ||||
| * | Remove test.test_support.guard_warnings_filter. | Brett Cannon | 2007-08-14 | 1 | -2/+2 |
| | | | | | | | | | test.test_support.catch_warning is more full-featured and provides the same functionality. Since guard_warnings_filter was added in 2.6 there is no backwards-compatibility issues. | ||||
| * | Whitespace normalization. | Tim Peters | 2007-03-12 | 1 | -2/+2 |
| | | |||||
