diff --git a/tests/test_manifest_xml.py b/tests/test_manifest_xml.py index 8aa97e70..c7e814a3 100644 --- a/tests/test_manifest_xml.py +++ b/tests/test_manifest_xml.py @@ -578,7 +578,7 @@ class ProjectElementTests(ManifestParseTestCase): parse('', 'ok') for path in INVALID_FS_PATHS: - if not path or path.endswith('/'): + if not path or path.endswith('/') or path.endswith(os.path.sep): continue with self.assertRaises(error.ManifestInvalidPathError):