Commit Graph

32 Commits

Author SHA1 Message Date
Hai Shi
a089d21df1 bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
Benjamin Peterson
ab078e9ed1 Backed out changeset af29d89083b3 (closes #25548) (closes #27498) 2016-07-13 21:13:29 -07:00
Kushal Das
5801ecb440 Issue #25548: Showing memory address of class objects in repl 2016-06-04 16:21:13 -07:00
Serhiy Storchaka
b3b366d803 Issue #26634: recursive_repr() now sets __qualname__ of wrapper.
Patch by Xiang Zhang.
2016-04-26 09:30:44 +03:00
Raymond Hettinger
a34cd0c781 Issue #22824: Simplify reprlib output format for empty arrays 2014-11-15 10:58:58 -08:00
Raymond Hettinger
ffd842e1d6 Issue #22824: Updated reprlib output format for sets to use set literals. 2014-11-09 22:30:36 -08:00
Serhiy Storchaka
0c937b3ed6 Issue #22031: Reprs now always use hexadecimal format with the "0x" prefix
when contain an id in form " at 0x...".
2014-07-22 12:14:52 +03:00
Zachary Ware
7f7f3d7879 Issue #19928: Fix test on Windows 2013-12-10 14:18:30 -06:00
Zachary Ware
ea6854a9ef Issue #19928: Fix test on Windows 2013-12-10 14:17:22 -06:00
Serhiy Storchaka
2a446bf76c Issue #19928: Implemented a test for repr() of cell objects. 2013-12-10 10:21:51 +02:00
Serhiy Storchaka
1f79cdfbfa Issue #19928: Implemented a test for repr() of cell objects. 2013-12-10 10:20:31 +02:00
Zachary Ware
101d9e7250 Issue 19572: More silently skipped tests explicitly skipped. 2013-12-08 00:44:27 -06:00
Zachary Ware
9fe6d86709 Issue 19572: More silently skipped tests explicitly skipped. 2013-12-08 00:20:35 -06:00
Eric Snow
b523f8433a Implement PEP 451 (ModuleSpec). 2013-11-22 09:05:39 -07:00
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