diff options
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. |