Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
2a99d5df63395149ef7393ef5e8a4fb141f64b55
/
Lib
/
test
/
test_imp.py
aa6f688
only close non-None files
by Benjamin Peterson
· 11 years ago
dea2ec4
Fix a test to not use an assertion for something that could be
by Brett Cannon
· 12 years ago
9d0f772
Issue #15902: Fix imp.load_module() to accept None as a file when
by Brett Cannon
· 12 years ago
e5e7a7c
#11420: merge with 3.2.
by Ezio Melotti
· 12 years ago
c28f6fa
#11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters.
by Ezio Melotti
· 12 years ago
848cdfd
Issue #15828: Don't try to close a file if imp.find_module() doesn't return one.
by Brett Cannon
· 12 years ago
91b9f13
Issue #15828: Restore support for C extension modules in imp.load_module()
by Nick Coghlan
· 12 years ago
19a2f59
Issue #15056: imp.cache_from_source() and source_from_cache() raise
by Brett Cannon
· 12 years ago
06e3758
Try to further debug occasional buildbot failure
by Antoine Pitrou
· 12 years ago
c049952
Issue #13959: Have
by Brett Cannon
· 12 years ago
410e88d
Change tests for imp.cache_from_source() to follow os.path.join/split semantics.
by Brett Cannon
· 13 years ago
f0434e6
Issue #14599: Generalize a test for ImportError.path and add support
by Brett Cannon
· 13 years ago
dd9a569
Issue #14633: Simplify imp.find_modue() test after fixes from issue
by Brett Cannon
· 13 years ago
9a4d7dd
More debug output
by Antoine Pitrou
· 13 years ago
ffd85c8
Improve debugging output for test failure
by Antoine Pitrou
· 13 years ago
4f92a68
Issue #14080: fix sporadic test_imp failure. Patch by Stefan Krah.
by Antoine Pitrou
· 13 years ago
658d196
Additional debug info in case of failure
by Antoine Pitrou
· 13 years ago
037615e
unload() should be sufficient
by Antoine Pitrou
· 13 years ago
abe72d7
Try to debug sporadic test failures
by Antoine Pitrou
· 13 years ago
bf81622
Issue #12451: Add support.create_empty_file()
by Victor Stinner
· 13 years ago
d4a2ff4
Issue #11919: try to fix test_imp failure on some buildbots.
by Antoine Pitrou
· 14 years ago
1184690
Issue #11919: try to fix test_imp failure on some buildbots.
by Antoine Pitrou
· 14 years ago
88f7841
Correctly merging #9319 into 3.3?
by Jesus Cea
· 14 years ago
7fdd0fe
Issue #9319: Fix the unit test
by Victor Stinner
· 14 years ago
c68b6aa
Issue #9319: Fix a crash on parsing a Python source code without encoding
by Victor Stinner
· 14 years ago
fe7c5b5
Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error.
by Victor Stinner
· 14 years ago
ccbf475
Fix imp.cache_from_source() if the directory name contains a dot
by Victor Stinner
· 14 years ago
b3aedd4
#9424: Replace deprecated assert* methods in the Python test suite.
by Ezio Melotti
· 14 years ago
749afa9
Move test_imp over to file context managers.
by Brett Cannon
· 14 years ago
e8f5832
Issue #9308: Removed redundant coding cookies. Added tests for
by Alexander Belopolsky
· 14 years ago
15d597a
test_imp: getfilesystemencoding() cannot be None anymore
by Victor Stinner
· 14 years ago
09c449c
Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLE
by Victor Stinner
· 14 years ago
1a4d12d
Issue #9425: NullImporter constructor is fully unicode compliant
by Victor Stinner
· 14 years ago
335d2c7
pydoc still has a silly encoding
by Benjamin Peterson
· 14 years ago
28a691b
PEP 3147
by Barry Warsaw
· 15 years ago
9713372
Typo
by Florent Xicluna
· 15 years ago
21164ce
#8133: Use appropriate Unicode decomposition on MacOS X platform.
by Florent Xicluna
· 15 years ago
25bfc55
take into account shebang line change
by Benjamin Peterson
· 15 years ago
41a6b04
The test was failing because the curdir was missing from sys.path. This should fix the problem.
by Ezio Melotti
· 15 years ago
435b531
Cleanup and minor fixes.
by Ezio Melotti
· 15 years ago
06dbff3
sys.getdefaultencoding() can return None.
by Ezio Melotti
· 15 years ago
76e0d1a
r78689 enabled the test on more platforms but the buildbot did not like it. Using the filesystem encoding might work better. Also see #5604.
by Ezio Melotti
· 15 years ago
9a7d5ac
This fixes a missing .lower() on the encoding name, a wrong byte undecodable by UTF-8, a wrong variable name, hopefully some windows buildbot on 3.x and adds a proper skip. It might break other things though.
by Ezio Melotti
· 15 years ago
6ead552
Note that a number of the changes listed below were not applicable to the Py3k branch, and hence the corresponding
by Nick Coghlan
· 15 years ago
c9c0f20
convert old fail* assertions to assert*
by Benjamin Peterson
· 15 years ago
0ad59d4
Issue #5604: non-ASCII characters in module name passed to
by Guido van Rossum
· 16 years ago
3614409
Issue #3806: LockTests in test_imp should be skipped when thread is not available.
by Hirokazu Yamamoto
· 16 years ago
8a9583e
PyTokenizer_FindEncoding() always failed because it set the tokenizer state
by Brett Cannon
· 16 years ago
ee8712c
#2621 rename test.test_support to test.support
by Benjamin Peterson
· 16 years ago
05e8be1
Merged revisions 60990-61002 via svnmerge from
by Christian Heimes
· 17 years ago
13a7a21
Issue #1762972: Readded the reload() function as imp.reload()
by Christian Heimes
· 17 years ago
40d20bc
Issue 1267, continued.
by Guido van Rossum
· 17 years ago
ce3a72a
Patch 1267 by Christian Heimes.
by Guido van Rossum
· 17 years ago
89f507f
Four months of trunk changes (including a few releases...)
by Thomas Wouters
· 18 years ago
94eaee6
Skip test_imp if threading is not available.
by Brett Cannon
· 20 years ago
579bed7
Rewrote. As reported on c.l.py, when the test suite is run via
by Tim Peters
· 22 years ago
3b8fb47
Import test_support properly
by Neal Norwitz
· 22 years ago
996acf1
Actually run these tests from regrtest.py.
by Neal Norwitz
· 22 years ago
2294c0d
Cleanup from patch #683257:
by Neal Norwitz
· 22 years ago