diff --git a/test/test_importer.py b/test/test_importer.py index b879290ad..29487ec26 100644 --- a/test/test_importer.py +++ b/test/test_importer.py @@ -348,7 +348,10 @@ class NonAutotaggedImportTest(_common.TestCase, ImportHelper): ) self.assertExists(filename) self.assertTrue(os.path.islink(filename)) - self.assert_equal_path(os.readlink(filename), mediafile.path) + self.assert_equal_path( + util.bytestring_path(os.readlink(filename)), + mediafile.path + ) def create_archive(session):