Fix test on Python 3

This commit is contained in:
Thomas Kluyver 2017-08-01 11:07:04 +01:00
parent bd9183afe9
commit dd69edad3b
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class TestTopdirTrash(TestExtVol):
# then it gets renamed etc.) # then it gets renamed etc.)
cfg = ConfigParser() cfg = ConfigParser()
cfg.read(op.join(self.trashDir, str(os.getuid()), 'info', self.fileName + '.trashinfo')) cfg.read(op.join(self.trashDir, str(os.getuid()), 'info', self.fileName + '.trashinfo'))
self.assertEqual(self.fileName, cfg.get('Trash Info', 'Path', 1)) self.assertEqual(self.fileName, cfg.get('Trash Info', 'Path', raw=True))
# Test .Trash-UID # Test .Trash-UID
class TestTopdirTrashFallback(TestExtVol): class TestTopdirTrashFallback(TestExtVol):