Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
38c707e7e0322f9139bb51ad73ede1e3b46985ef
/
Lib
/
test
/
test_imp.py
f299abd
Issue #23731: Implement PEP 488.
by Brett Cannon
· 9 years ago
047b7ae
Issue #22390: Remove files created by tests
by Victor Stinner
· 10 years ago
101d9e7
Issue 19572: More silently skipped tests explicitly skipped.
by Zachary Ware
· 11 years ago
9fe6d86
Issue 19572: More silently skipped tests explicitly skipped.
by Zachary Ware
· 11 years ago
6787a38
Issue #15204: Deprecated the 'U' mode in file-like objects.
by Serhiy Storchaka
· 11 years ago
330cc52
Delete merge markers
by Brett Cannon
· 11 years ago
16ababc
merge for issue #18755
by Brett Cannon
· 11 years ago
a4975a9
Issue #18755: Allow imp.load_*() loaders to have get_data() called
by Brett Cannon
· 11 years ago
bb2c45e
Issue #7732: try to fix test_bug7732's flakiness on Windows by executing it in a fresh temporary directory.
by Antoine Pitrou
· 11 years ago
7491f17
issue #18698: ensure importlib.reload() returns the module out of sys.modules.
by Eric Snow
· 11 years ago
3ee1140
Issue #18706: Fix a test for issue #18681 so it no longer breaks test_codeccallbacks*.
by Serhiy Storchaka
· 11 years ago
b212291
Issue #18706: Fix a test for issue #18681 so it no longer breaks test_codeccallbacks*.
by Serhiy Storchaka
· 11 years ago
fbcf4d7
#18681: merge with 3.3.
by Ezio Melotti
· 11 years ago
056bafe
#18681: Fix a NameError in imp.reload() (noticed by Weizhao Li).
by Ezio Melotti
· 11 years ago
e4f41de
Issue #17177: The imp module is pending deprecation.
by Brett Cannon
· 11 years ago
997487d
Issue #7732: Move an imp.find_module test from test_import to test_imp.
by Brett Cannon
· 11 years ago
fc6f4cd
merge 3.3
by Benjamin Peterson
· 11 years ago
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
· 11 years ago
8772b18
Change a test assertion to a conditional so the test will pass on Windows.
by Brett Cannon
· 11 years ago
95ea11f
add trailing newline to file
by Brett Cannon
· 11 years ago
1426853
Move test_imp over to unittest.main()
by Brett Cannon
· 11 years ago
130e481
Guard more tests in test_imp requiring imp.load_dynamic() to exist.
by Brett Cannon
· 11 years ago
2a9c653
#15902: merge w/ 3.3
by Brett Cannon
· 11 years ago
9d0f772
Issue #15902: Fix imp.load_module() to accept None as a file when
by Brett Cannon
· 11 years ago
469da97
#11420: merge with 3.3.
by Ezio Melotti
· 11 years ago
e5e7a7c
#11420: merge with 3.2.
by Ezio Melotti
· 11 years ago
c28f6fa
#11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters.
by Ezio Melotti
· 11 years ago
ef9a43b
Rename test module names for #16421 to don't clash with other tests.
by Andrew Svetlov
· 12 years ago
6b2cbeb
Issue #16421: allow to load multiple modules from the same shared object.
by Andrew Svetlov
· 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
· 12 years ago
f0434e6
Issue #14599: Generalize a test for ImportError.path and add support
by Brett Cannon
· 12 years ago
dd9a569
Issue #14633: Simplify imp.find_modue() test after fixes from issue
by Brett Cannon
· 12 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
· 13 years ago
1184690
Issue #11919: try to fix test_imp failure on some buildbots.
by Antoine Pitrou
· 13 years ago
88f7841
Correctly merging #9319 into 3.3?
by Jesus Cea
· 13 years ago
7fdd0fe
Issue #9319: Fix the unit test
by Victor Stinner
· 13 years ago
c68b6aa
Issue #9319: Fix a crash on parsing a Python source code without encoding
by Victor Stinner
· 13 years ago
fe7c5b5
Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error.
by Victor Stinner
· 13 years ago
ccbf475
Fix imp.cache_from_source() if the directory name contains a dot
by Victor Stinner
· 13 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
· 14 years ago
9713372
Typo
by Florent Xicluna
· 14 years ago
21164ce
#8133: Use appropriate Unicode decomposition on MacOS X platform.
by Florent Xicluna
· 14 years ago
25bfc55
take into account shebang line change
by Benjamin Peterson
· 14 years ago
41a6b04
The test was failing because the curdir was missing from sys.path. This should fix the problem.
by Ezio Melotti
· 14 years ago
435b531
Cleanup and minor fixes.
by Ezio Melotti
· 14 years ago
06dbff3
sys.getdefaultencoding() can return None.
by Ezio Melotti
· 14 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
· 14 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
· 14 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
· 15 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
· 21 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