summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tempfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_tempfile.py')
-rw-r--r--Lib/test/test_tempfile.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py
index cb95724..901a07c 100644
--- a/Lib/test/test_tempfile.py
+++ b/Lib/test/test_tempfile.py
@@ -524,13 +524,13 @@ class test_mktemp(TC):
for i in extant:
extant[i] = self.do_create(pre="aa")
- def test_warning(self):
- # mktemp issues a warning when used
- warnings.filterwarnings("error",
- category=RuntimeWarning,
- message="mktemp")
- self.assertRaises(RuntimeWarning,
- tempfile.mktemp, (), { 'dir': self.dir })
+## def test_warning(self):
+## # mktemp issues a warning when used
+## warnings.filterwarnings("error",
+## category=RuntimeWarning,
+## message="mktemp")
+## self.assertRaises(RuntimeWarning,
+## tempfile.mktemp, dir=self.dir)
test_classes.append(test_mktemp)