@@ -53,7 +53,7 @@ class TestBaseUI(unittest.TestCase):
for item in (testdb, 'foo.csv', 'pwman-export.csv'):
try:
os.unlink(item)
- except IOError:
+ except OSError:
continue
def setUp(self):
@@ -52,7 +52,7 @@ class TestConfig(unittest.TestCase):
'import_file.csv'):
@@ -42,7 +42,7 @@ class TestImporter(unittest.TestCase):
for item in ('import_file.csv', 'test-importer.db', 'importdummy.db'):