Commit af058652 authored by Michael W. Hudson's avatar Michael W. Hudson

make this test work when run repeatedly.

parent c9e39554
......@@ -5,13 +5,12 @@
import unittest
from test.test_support import run_unittest, TESTFN
import dircache, os, time, sys
import dircache, os, time, sys, tempfile
class DircacheTests(unittest.TestCase):
def setUp(self):
self.tempdir = TESTFN+"_dir"
os.mkdir(self.tempdir)
self.tempdir = tempfile.mkdtemp()
def tearDown(self):
for fname in os.listdir(self.tempdir):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment