Fix spurious cleanup error.
This commit is contained in:
1 parent
67d974638a
commit
0863bb5602
1 file changed
+1
@@ -11,6 +11,7 @@ class AddrCacheTestCase(unittest.TestCase):
|
|||||||
self.fname = 'test.dat'
|
self.fname = 'test.dat'
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
if os.path.exists(self.fname):
|
||||||
os.remove(self.fname)
|
os.remove(self.fname)
|
||||||
|
|
||||||
def testAdd(self):
|
def testAdd(self):
|
||||||
|
|||||||
Reference in new issue
Block a user