Brett Cannon
9529fbfd36
Issue #17177 : Stop using imp in a bunch of tests
2013-06-15 17:11:25 -04:00
Antoine Pitrou
110ee34e41
Lower test-skipping threshold in test_reprlib
2012-06-23 22:55:58 +02:00
Antoine Pitrou
f0f4742b49
Fix silly mistake in debugging code
2012-06-23 00:49:44 +02:00
Antoine Pitrou
541b7c89ff
Add debug output for temporary buildbot failures
2012-06-23 00:07:38 +02:00
Brett Cannon
7b383c431a
Make a test easier to read.
2012-06-11 11:02:36 -04:00
Antoine Pitrou
01296da8df
Skip long repr tests when the cached pyc file's path length would exceed the maximum Win32 path length.
...
This should fix a failure on one of the XP buildbots.
2012-04-24 13:55:35 +02:00
Brett Cannon
ceffda822f
Issue #14599 : Make test_reprlib robust against import cache race
...
conditions when regrtest is run with its -j option.
2012-04-16 20:48:50 -04:00
Antoine Pitrou
c541f8ef40
Issue #14043 : Speed up importlib's _FileFinder by at least 8x, and add a new importlib.invalidate_caches() function.
...
importlib is now often faster than imp.find_module() at finding modules.
2012-02-20 01:48:16 +01:00
Antoine Pitrou
86a36b500a
PEP 3155 / issue #13448 : Qualified name for classes and functions.
2011-11-25 18:56:07 +01:00
Victor Stinner
bf816223df
Issue #12451 : Add support.create_empty_file()
...
We don't need to create a temporary buffered binary or text file object just to
create an empty file.
Replace also os.fdopen(handle).close() by os.close(handle).
2011-06-30 23:25:47 +02:00
Victor Stinner
e1ea8298c6
Issue #3080 : Fix test_reprlib on Windows
...
Fix the test for last module changes (r88520).
2011-02-23 14:14:48 +00:00
Ezio Melotti
b3aedd4862
#9424 : Replace deprecated assert* methods in the Python test suite.
2010-11-20 19:04:17 +00:00
Raymond Hettinger
98a5f3f838
Issue 9840: Add reprlib.recursive_repr(), a decorator for handling recursive calls to __repr__ methods.
2010-09-13 21:36:00 +00:00
Ronald Oussoren
94f25283c9
Remove traces of MacOS9 support.
...
Fix for issue #7908
2010-05-05 19:11:21 +00:00
Benjamin Peterson
577473fe68
use assert[Not]In where appropriate
...
A patch from Dave Malcolm.
2010-01-19 00:09:57 +00:00
Benjamin Peterson
c9c0f201fe
convert old fail* assertions to assert*
2009-06-30 23:06:06 +00:00
Benjamin Peterson
ee8712cda4
#2621 rename test.test_support to test.support
2008-05-20 21:35:26 +00:00
Alexandre Vassalotti
bee325387b
Merged revisions 63361-63373,63375,63377-63380 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63361 | alexandre.vassalotti | 2008-05-16 03:14:08 -0400 (Fri, 16 May 2008) | 2 lines
Rename the test file of reprlib.
........
r63364 | georg.brandl | 2008-05-16 05:34:48 -0400 (Fri, 16 May 2008) | 2 lines
Make generator repr consistent with function and code object repr.
........
r63365 | georg.brandl | 2008-05-16 05:47:29 -0400 (Fri, 16 May 2008) | 2 lines
#2869 : remove parameter from signature.
........
r63366 | christian.heimes | 2008-05-16 06:23:31 -0400 (Fri, 16 May 2008) | 1 line
Fixed #2870 : cmathmodule.c compile error
........
r63367 | christian.heimes | 2008-05-16 07:28:56 -0400 (Fri, 16 May 2008) | 1 line
Following Amaury's advice
........
r63368 | georg.brandl | 2008-05-16 09:10:15 -0400 (Fri, 16 May 2008) | 2 lines
#2890 : support os.O_ASYNC and fcntl.FASYNC.
........
r63369 | georg.brandl | 2008-05-16 09:18:50 -0400 (Fri, 16 May 2008) | 2 lines
#2845 : fix copy2's docs.
........
r63370 | georg.brandl | 2008-05-16 09:24:29 -0400 (Fri, 16 May 2008) | 2 lines
Don't allow keyword arguments to reversed().
........
r63373 | georg.brandl | 2008-05-16 09:41:26 -0400 (Fri, 16 May 2008) | 2 lines
Document O_ASYNC addition.
........
r63380 | georg.brandl | 2008-05-16 13:33:13 -0400 (Fri, 16 May 2008) | 2 lines
Fix reprlib docs.
........
2008-05-16 18:15:12 +00:00