Jesus Cea
653e4b30e3
MERGE: Better test for Issue #15402 : Add a __sizeof__ method to struct.Struct
2012-07-23 18:16:18 +02:00
Jesus Cea
189fdf187b
Better test for Issue #15402 : Add a __sizeof__ method to struct.Struct
2012-07-23 18:15:33 +02:00
Meador Inge
9f65899d19
Issue #15402 : Add a __sizeof__ method to struct.Struct.
...
Initial patch by Serhiy Storchaka.
2012-07-23 10:22:36 -05:00
Meador Inge
b14d8c9bcf
Issue #15402 : Add a __sizeof__ method to struct.Struct.
...
Initial patch by Serhiy Storchaka.
2012-07-23 10:01:29 -05:00
R David Murray
970bef295d
Merge #15232 : correctly mangle From lines in MIME preamble and epilogue
2012-07-22 21:53:54 -04:00
Ned Deily
1ef871969c
Issue #15184 : Fix test__remove_unsupported_archs failures on 10.6
...
by removing unwarranted assumptions that clang compiler chain
cannot handle ppc (the driver passes off ppc compiles to gcc).
Mock the behavior instead.
2012-07-21 22:35:16 -07:00
Gregory P. Smith
34fcafde16
Consistently raise a TypeError when a non str is passed to hashlib.new
...
regardless of which of the two implementations of new is used.
2012-07-21 21:20:44 -07:00
Gregory P. Smith
76c28f7ce2
Consistently raise a TypeError when a non str is passed to hashlib.new
...
regardless of which of the two implementations of new is used.
2012-07-21 21:19:53 -07:00
R David Murray
45ccf032be
Merge #13922 : argparse no longer incorrectly strips '--' after the first one.
...
Patch by Jeff Knupp.
2012-07-21 22:56:49 -04:00
R David Murray
00528e8fec
#13922 : argparse no longer incorrectly strips '--' after the first one.
...
Patch by Jeff Knupp.
2012-07-21 22:48:35 -04:00
R David Murray
d4703d1d85
Merge #12353 : argparse now correctly handles null argument values.
...
Patch by Torsten Landschoff.
2012-07-21 22:28:08 -04:00
R David Murray
b94082a71b
#12353 : argparse now correctly handles null argument values.
...
Patch by Torsten Landschoff.
2012-07-21 22:20:11 -04:00
Ned Deily
2731c049ac
Issue #15184 : Ensure configuration-related environment variables
...
are unset during test execution.
2012-07-21 09:29:54 -07:00
Brett Cannon
636601dfba
Remove a relative import that escaped test.test_importlib.
2012-07-21 09:54:58 -04:00
Ned Deily
df8aa2b325
Issue #15184 : Ensure consistent results of OS X configuration
...
tailoring for universal builds by factoring out common OS X-specific
customizations from sysconfig, distutils.sysconfig, distutils.util,
and distutils.unixccompiler into a new module _osx_support that can
eventually also be used by packaging.
2012-07-21 05:36:30 -07:00
Florent Xicluna
0fd1062a76
Fix test_pprint random dict ordering.
2012-07-21 12:45:02 +02:00
Florent Xicluna
6e571d699f
Fix test_pprint random dict ordering.
2012-07-21 12:44:20 +02:00
Florent Xicluna
6a01fc5d41
Issues #10017 and #14998 : Fix TypeError using pprint on dictionaries with unorderable key.
2012-07-21 11:22:33 +02:00
Florent Xicluna
d6da90f93d
Issues #10017 and #14998 : Fix TypeError using pprint on dictionaries with unorderable key.
2012-07-21 11:17:38 +02:00
Antoine Pitrou
5e36edbaba
Port additional tests from #14579 (the issue is already fixed).
2012-07-21 00:47:48 +02:00
Antoine Pitrou
b4bbee25b1
Issue #14579 : Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error handling.
...
Patch by Serhiy Storchaka.
2012-07-21 00:45:14 +02:00
Brett Cannon
ed19fcec89
Fix another import error.
2012-07-20 15:42:34 -04:00
Brett Cannon
86ae981da9
Fix an import from the importlib.test move.
2012-07-20 15:40:57 -04:00
Brett Cannon
d382bfc921
Move importlib.test.benchmark to Tools/importbench to make it more
...
visible and to place it with other micro-benchmarks (e.g.
stringbench).
2012-07-20 14:54:53 -04:00
Brett Cannon
45a5e3afe5
Issue #15168 : Move importlb.test to test.test_importlib.
...
This should make the Linux distros happy as it is now easier to leave
importlib's tests out of their base Python distribution.
2012-07-20 14:48:53 -04:00
Brett Cannon
6ee9695270
Issue #15091 : Call importlib.invalidate_caches() and reactivate a test
...
of importing a symlinked package.
2012-07-20 14:22:04 -04:00
Brett Cannon
ba52586f76
Running the importlib tests from test_import is redundant as there is
...
no difference anymore between __import__ and importlib.__import__.
2012-07-20 14:01:34 -04:00
Nick Coghlan
be7e49fd82
Close #15386 : There was a loophole that meant importlib.machinery and imp would sometimes reference an uninitialised copy of importlib._bootstrap
2012-07-20 23:40:09 +10:00
Hynek Schlawack
26fe37dd3f
#1492704 : Backout and wait for 3.4
2012-07-19 21:41:02 +02:00
Hynek Schlawack
77d3283370
#1492704 : Make shutil.copyfile() raise a distinct SameFileError
...
Patch by Atsuo Ishimoto.
2012-07-19 20:23:49 +02:00
Vinay Sajip
90db661b43
Closes #15307 : symlinks now work on OS X with framework Python builds. Patch by Ronald Oussoren.
2012-07-17 17:33:46 +01:00
Hynek Schlawack
11718620ef
Use posixpath.join() explicitely in posixpath.join() test
...
Used os.path.join before which has different semantics on Windows.
2012-07-17 14:29:33 +02:00
Hynek Schlawack
0b350c6b3e
Use posixpath.join() explicitely in posixpath.join() test
...
Used os.path.join before which has different semantics on Windows.
2012-07-17 14:28:44 +02:00
Nick Coghlan
9455492142
Issue #15314 : Tweak a pkgutil test to hopefully be more Windows friendly
2012-07-17 21:37:58 +10:00
Hynek Schlawack
1815191f17
#15377 : Make posixpath.join() more strict when checking for str/bytes mix
...
Based on a patch by Nick Coghlan.
2012-07-17 13:10:15 +02:00
Hynek Schlawack
c5a4566922
#15377 : Make posixpath.join() more strict when checking for str/bytes mix
...
Based on a patch by Nick Coghlan.
2012-07-17 13:05:43 +02:00
Nick Coghlan
9c3cf6b4a0
Merge Issue #15230 OS X buildbot fix from 3.2
2012-07-17 20:43:40 +10:00
Nick Coghlan
eb3e62f1c8
Issue #15230 : Attempt to make the OS X buildbots happy by resolving the tmp dir symlink in the test suite
2012-07-17 20:42:39 +10:00
Hynek Schlawack
1c4eb2c09a
Fix context manager use in posixpath.join() tests
...
The asserts were useless (and buggy).
2012-07-17 10:50:30 +02:00
Hynek Schlawack
7cdc2bdd0d
Fix context manager use in posixpath.join() tests
...
The asserts were useless (and buggy).
2012-07-17 10:48:19 +02:00
Eli Bendersky
426e248feb
Preserve the invariant tostring(elem) == b''.join(tostringlist(elem)) and add a test to make sure it keeps working
2012-07-17 05:45:11 +03:00
Gregory P. Smith
daa4c6b2e6
one more test fix for systems without select.poll. tested by deleting
...
select.poll before running. works both ways (finally). this should
fix the windows build.
2012-07-16 15:49:19 -07:00
Gregory P. Smith
954d46b2cc
one more test fix for systems without select.poll. tested by deleting
...
select.poll before running. works both ways (finally). this should fix
the windows build.
2012-07-16 15:48:30 -07:00
Gregory P. Smith
49be9ed976
Fix unchecked select.poll reference in setUp and tearDown for
...
platforms that don't have it.
2012-07-16 13:39:10 -07:00
Gregory P. Smith
ac14aa5187
Fix unchecked select.poll reference in setUp and tearDown for
...
platforms that don't have it.
2012-07-16 13:38:45 -07:00
Gregory P. Smith
2a86b25323
Fix the with_poll tests for platforms without poll. missing import.
2012-07-16 13:35:20 -07:00
Gregory P. Smith
5bcd005a0b
Fix the with_poll tests for platforms without poll. missing import.
2012-07-16 13:34:50 -07:00
Hynek Schlawack
c2d481fbcd
#15238 : Fix xattr related shutil.copystat tests
...
- Loosen up test as Fedora has implicit xattrs
- Actually test the destination for xattrs
Should make Fedora buildbot green again.
2012-07-16 17:11:10 +02:00
Gregory P. Smith
4866266bf4
Fixes Issue #14635 : telnetlib will use poll() rather than select() when possible
...
to avoid failing due to the select() file descriptor limit.
2012-07-15 23:44:49 -07:00
Gregory P. Smith
dad5711677
Fixes Issue #14635 : telnetlib will use poll() rather than select() when possible
...
to avoid failing due to the select() file descriptor limit.
2012-07-15 23:42:26 -07:00