| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
and test_support.run_classtests() into run_unittest()
and use it wherever possible.
Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.
From SF patch #662807.
|
|
|
|
| |
Set the limit for the number of open files to 32 if platform==mac.
|
|
|
|
|
| |
- assertRaises() wasn't being called correctly
- test_warning() no longer applies
|
|
|
|
|
|
| |
other tests to generate warning when they didn't before. In
particular, this cancels not only filters set by -W, but also from
test.regrtest.
|
|
|
|
|
|
| |
of dummy_test_TemporaryFile class; when NamedTemporaryFile and
TemporaryFile are the same, simply don't add a test suite for
TemporaryFile.
|
| |
|
|
|
|
|
|
|
| |
Also, don't call gettempdir() in the default expression for the 'dir'
argument to various functions; use 'dir=None' for the default and
insert 'if dir is None: dir = gettemptir()' in the bodies. That way
the work done by gettempdir is postponed until needed.
|
|
|
|
|
| |
subprocess that does the right checks. This now works on Windows as
well.
|
| |
|
|
|
|
|
| |
allow that many open files per process. I don't see that 1000 makes
any difference for the test.
|
|
|
|
|
| |
on Win32, so tests that assume there are such distinctions can't
pass. Fiddled them to work.
|
| |
|
|
|
|
|
|
|
|
| |
rewrite, by Zack Weinberg). This replaces most code in tempfile.py
(please review!!!) and adds extensive unit tests for it.
This will cause some warnings in the test suite; I'll check those in
soon, and also the docs.
|
|
Ensure that a tempfile can be closed any number of times without error.
This wasn't true on Windows.
|