summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix inspect.getattr_static to work on modules (again).Michael Foord2011-12-181-0/+5
| | | | Closes issue 11813.
* Followup to #7502: add __hash__ method and tests.Antoine Pitrou2011-12-181-0/+19
|
* Issue #7502: Fix equality comparison for DocTestCase instances.Antoine Pitrou2011-12-181-0/+40
| | | | Patch by Cédric Krier.
* Issue #13453: Fix a race condition in test_poplib.Charles-François Natali2011-12-141-10/+12
|
* Issue #13505: Make pickling of bytes object compatible with Python 2.Alexandre Vassalotti2011-12-131-3/+9
| | | | Initial patch by sbt.
* we're always going to have gcBenjamin Peterson2011-12-101-6/+1
|
* you can't get resource.error if you can't import resourceBenjamin Peterson2011-12-101-11/+17
|
* Issue #13453: Catch EAI_FAIL in support.transient_internet.Charles-François Natali2011-12-101-0/+1
|
* Issue #11886: workaround an OS bug (time zone data) in test_timeVictor Stinner2011-12-071-1/+6
| | | | | | | Australian Eastern Standard Time (UTC+10) is called "EST" (as Eastern Standard Time, UTC-5) instead of "AEST" on some operating systems (e.g. FreeBSD), which is wrong. See for example this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810
* #13531: add a test for defaultdict with a non-callable arg. Patch by Mike ↵Ezio Melotti2011-12-071-0/+3
| | | | Cheng.
* Correctly detect bzip2 compressed streams with blocksizes other than 900k.Lars Gustäbel2011-12-061-4/+18
|
* Issue #13211: Add .reason attribute to HTTPError to implement parent class ↵Jason R. Coombs2011-11-071-0/+11
| | | | (URLError) interface.
* #8414: add more tests for "assert". Initial patch by Gregory Nofi.Ezio Melotti2011-12-021-2/+24
|
* Add a regrtest cleanup check for shutil registriesÉric Araujo2011-11-291-0/+19
|
* Fix resource warning in test_xmlrpc_netAntoine Pitrou2011-11-281-0/+1
|
* Issue #13434: skip the time.xmlrpc.com test, and reenable the buildbot test.Antoine Pitrou2011-11-281-1/+1
|
* Issue #7111: Python can now be run without a stdin, stdout or stderr stream.Antoine Pitrou2011-11-281-0/+39
| | | | | It was already the case with Python 2. However, the corresponding sys module entries are now set to None (instead of an unusable file object).
* Issue #12618: py_compile cannot create files in current directoryMeador Inge2011-11-281-0/+9
| | | | Initial patch by Sjoerd de Vries.
* Issue #13415: Skip test_os.test_unset_error on FreeBSD and OS X.Charles-François Natali2011-11-271-0/+4
|
* Issue #13444: When stdout has been closed explicitly, we should not attempt ↵Antoine Pitrou2011-11-261-0/+19
| | | | | | to flush it at shutdown and print an error. This also adds a test for issue #5319, whose resolution introduced the issue.
* Issue #12618: fix py_compile unit tests to handle different drives on WindowsMeador Inge2011-11-261-0/+10
|
* Issue #12618: create unit tests for the py_compile moduleMeador Inge2011-11-261-0/+42
|
* Issue #13380: add an internal function for resetting the ctypes cachesMeador Inge2011-11-261-0/+7
|
* Issue #12856: Ensure child processes do not inherit the parent's random seed ↵Antoine Pitrou2011-11-251-0/+32
| | | | | | for filename generation in the tempfile module. Patch by Brian Harring.
* Issue #13436: Fix unsetenv() test on WindowsVictor Stinner2011-11-221-1/+2
|
* Merge branch 3.2Victor Stinner2011-11-221-0/+9
|\
| * Issue #13415: os.unsetenv() doesn't ignore errors anymore.Victor Stinner2011-11-221-0/+9
| |
* | Issue #13436: Fix a bogus error message when an AST object was passedAmaury Forgeot d'Arc2011-11-221-0/+11
|/ | | | an invalid integer value.
* Issue #12156: Skip test_multiprocessing on systems which don't support enoughCharles-François Natali2011-11-221-0/+18
| | | | POSIX semaphores (among which FreeBSD < 8).
* Issue #13093: Fix error handling on PyUnicode_EncodeDecimal()Victor Stinner2011-11-221-0/+36
| | | | | * Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII() * Remove the unused "e" variable in replace()
* Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError isAntoine Pitrou2011-11-211-4/+74
| | | | | | | raised when the wrapped raw file is non-blocking and the write would block. Previous code assumed that the raw write() would raise BlockingIOError, but RawIOBase.write() is defined to returned None when the call would block. Patch by sbt.
* Close #13401: Skip TestFileTypeW of test_argparse if the current user is rootVictor Stinner2011-11-201-0/+2
| | | | Patch written by Arfrever Frehtes Taifersar Arahesis.
* #11112: Fix typo in a base class in test_socket.Ezio Melotti2011-11-181-1/+1
|
* #13358: HTMLParser now calls handle_data only once for each CDATA.Ezio Melotti2011-11-181-1/+21
|
* #4147: minidom's toprettyxml no longer adds whitespace around a text node ↵Ezio Melotti2011-11-181-5/+32
| | | | when it is the only child of an element. Initial patch by Dan Kenigsberg.
* Issue #13333: The UTF-7 decoder now accepts lone surrogatesAntoine Pitrou2011-11-151-4/+12
| | | | (the encoder already accepts them).
* #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in ↵Ezio Melotti2011-11-141-14/+93
| | | | HTMLParser.
* Group tests about attributes in a separate class.Ezio Melotti2011-11-141-59/+62
|
* Restore smtpd.DEBUGSTREAM at the end of test_smtpd.Antoine Pitrou2011-11-121-0/+2
| | | | (backport of 6b9f547e92d8)
* Update mailbox.Maildir testsPetri Lehtinen2011-11-121-3/+9
| | | | | | | | Remove a sleep to fix transient test failures. Use skewfactor of -3 to make it work on systems that have 1 second precision for time.time(). Closes #11999 Refs #13254
* Fix few typos.Florent Xicluna2011-11-111-1/+1
|
* test_import: test_execute_bit_not_copied() was actually a no-op: fix it.Charles-François Natali2011-11-081-4/+3
|
* Partial patch for issue #11812: Take care of test_telnetlib.pyJesus Cea2011-11-081-6/+6
|
* Solved a potential deadlock in test_telnetlib.py. Related to issue #11812Jesus Cea2011-11-081-4/+0
|
* Closes #13361: Raise correct exception type.Vinay Sajip2011-11-071-1/+1
|
* Closes #13661: Check added for type of logger name.Vinay Sajip2011-11-071-0/+2
|
* Revert "Accept None as start and stop parameters for list.index() and ↵Petri Lehtinen2011-11-062-14/+0
| | | | | | tuple.index()" Issue #13340.
* Skip early if stdin and stdout are not ttysAntoine Pitrou2011-11-061-0/+2
|
* Backport robustness fix for test_builtinAntoine Pitrou2011-11-061-21/+31
|
* Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicodeAntoine Pitrou2011-11-051-0/+70
| | | | error handler in interactive mode (when calling into PyOS_Readline()).