From dd69edad3bb0b806a9911a0ae1df361530ec274c Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Tue, 1 Aug 2017 11:07:04 +0100 Subject: [PATCH] Fix test on Python 3 --- test_plat_other.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_plat_other.py b/test_plat_other.py index 9beaaf9..031eab5 100644 --- a/test_plat_other.py +++ b/test_plat_other.py @@ -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):