mirror of
https://github.com/arsenetar/send2trash.git
synced 2026-02-05 21:01:39 +00:00
Fix test on Python 3
This commit is contained in:
@@ -79,7 +79,7 @@ class TestTopdirTrash(TestExtVol):
|
||||
# then it gets renamed etc.)
|
||||
cfg = ConfigParser()
|
||||
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
|
||||
class TestTopdirTrashFallback(TestExtVol):
|
||||
|
||||
Reference in New Issue
Block a user