Brian Curtin
4b4fa21183
Merged revisions 86202 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86202 | brian.curtin | 2010-11-05 10:40:27 -0500 (Fri, 05 Nov 2010) | 2 lines
Fix ResourceWarning from subprocess pipes being left open.
........
2010-11-05 15:42:57 +00:00
Benjamin Peterson
5c8da86f3a
convert usage of fail* to assert*
2009-06-30 22:57:08 +00:00
Gregory P. Smith
f108320055
better diagnostics
2008-04-09 23:11:56 +00:00
Christian Heimes
c5f05e45cf
Patch #2167 from calvin: Remove unused imports
2008-02-23 17:40:11 +00:00
Martin v. Löwis
c92157ff52
Relax result test for program mode of quopri.
2006-03-23 19:14:23 +00:00
Martin v. Löwis
83be9669c8
Rewrite pipe code using subprocess, to make sure the
...
child process is closed when the test completes.
2006-03-23 18:16:43 +00:00
Tim Peters
536cf99536
Whitespace normalization.
2005-12-25 23:18:31 +00:00
Walter Dörwald
3b287702dd
Add two tests for the script interface.
2005-12-15 20:17:20 +00:00
Walter Dörwald
b197543680
If quopri uses the implementations from binascii do the tests a second time
...
using the Python implementations of the functions. This imcreases code
coverage and makes sure that both implementations do the same thing.
2005-12-14 23:32:22 +00:00
Barry Warsaw
04f357cffe
Get rid of relative imports in all unittests. Now anything that
...
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".
This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).
Now Tim and Jack can have at it. :)
2002-07-23 19:04:11 +00:00
Martin v. Löwis
16dc7f44b1
Patch #462190 , patch #464070 : Support quoted printable in the binascii module.
...
Decode and encode underscores for header style encoding. Fixes bug #463996 .
2001-09-30 20:32:11 +00:00
Fred Drake
2e2be3760c
Change the PyUnit-based tests to use the test_main() approach. This
...
allows using the tests with unittest.py as a script. The tests will
still run when run as a script themselves.
2001-09-20 21:33:42 +00:00
Tim Peters
e861365dab
Don't use any characters C doesn't guarantee are safe for text-mode files.
...
This should stop the bizarre translations Jack was getting from Mac CVS.
2001-08-03 20:40:18 +00:00
Tim Peters
87cc0c329e
Whitespace normalization, plus:
...
+ test_quopri.py relied on significant trailing spaces. Fixed.
+ test_dircache.py (still) doesn't work on Windows (directory mtime on
Windows doesn't work like it does on Unix).
2001-07-21 01:41:30 +00:00
Barry Warsaw
7599a3fc5a
Add a bunch of sample strings to test soft line breaks of varying end
...
cases.
2001-06-19 22:48:42 +00:00
Barry Warsaw
7069763913
A unittest-based test for the quopri module.
2001-06-19 19:08:13 +00:00