From 92f91b42cfd94b8b545bfe27753fb90046b4257c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 6 Mar 2018 11:45:27 +0100 Subject: [PATCH] Added test case for Windows-style paths --- tests/test_bpathlib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_bpathlib.py b/tests/test_bpathlib.py index c60d67c..c91c83b 100644 --- a/tests/test_bpathlib.py +++ b/tests/test_bpathlib.py @@ -20,6 +20,7 @@ class BlendPathTest(unittest.TestCase): self.assertFalse(BlendPath(b'//some/file.blend').is_absolute()) self.assertTrue(BlendPath(b'/some/file.blend').is_absolute()) self.assertTrue(BlendPath(b'C:/some/file.blend').is_absolute()) + self.assertTrue(BlendPath(b'C:\\some\\file.blend').is_absolute()) self.assertFalse(BlendPath(b'some/file.blend').is_absolute()) def test_is_blendfile_relative(self):