1
0
镜像自地址 https://github.com/arsenetar/send2trash.git 已同步 2025-07-15 19:13:20 +00:00

Fix test on Python 3

这个提交包含在:
Thomas Kluyver 2017-08-01 11:07:04 +01:00
父节点 bd9183afe9
当前提交 dd69edad3b

查看文件

@ -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):