diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-04-16 01:27:44 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-04-16 01:27:44 (GMT) |
commit | d392506c43a48d570a09a15e7f1889873fe17d6c (patch) | |
tree | 83ceeade55a3a7b201f7bcafe3a0804b85ad3c3c /Lib/test/test_os.py | |
parent | 50ac30ee0190ea2dd4ede87d63d6ebba23bd3a11 (diff) | |
download | cpython-d392506c43a48d570a09a15e7f1889873fe17d6c.zip cpython-d392506c43a48d570a09a15e7f1889873fe17d6c.tar.gz cpython-d392506c43a48d570a09a15e7f1889873fe17d6c.tar.bz2 |
Tighten up some warning filters, and break some dependencies on the
order in which the tests are normally run.
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r-- | Lib/test/test_os.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index ae3bcc3..12c016b 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -33,7 +33,7 @@ class TemporaryFileTests(unittest.TestCase): if not hasattr(os, "tempnam"): return warnings.filterwarnings("ignore", "tempnam", RuntimeWarning, - "test_os") + r"test_os$") self.check_tempfile(os.tempnam()) name = os.tempnam(TESTFN) @@ -57,7 +57,7 @@ class TemporaryFileTests(unittest.TestCase): if not hasattr(os, "tmpnam"): return warnings.filterwarnings("ignore", "tmpnam", RuntimeWarning, - "test_os") + r"test_os$") self.check_tempfile(os.tmpnam()) # Test attributes on return values from os.*stat* family. |