aboutsummaryrefslogtreecommitdiff
path: root/scripts/test_vendor_portable_pty.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test_vendor_portable_pty.py')
-rw-r--r--scripts/test_vendor_portable_pty.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test_vendor_portable_pty.py b/scripts/test_vendor_portable_pty.py
index cf3b791a..899b33f8 100644
--- a/scripts/test_vendor_portable_pty.py
+++ b/scripts/test_vendor_portable_pty.py
@@ -65,9 +65,9 @@ class VendorPortablePtyTests(unittest.TestCase):
self.assertTrue(index.exists())
text = index.read_text()
missing = [
- str(path.relative_to(project_root))
+ path.relative_to(project_root).as_posix()
for path in patches
- if str(path.relative_to(project_root)) not in text
+ if path.relative_to(project_root).as_posix() not in text
]
self.assertEqual(missing, [])