Skip to content

Commit

Permalink
tests: make pathlib3.12 tests succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-- committed Feb 6, 2024
1 parent 8e0a389 commit 1b29429
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upath/tests/pathlib/test_pathlib_312.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def test_constructor_common(self):
self.assertEqual(P(P('a'), 'b'), P('a/b'))
self.assertEqual(P(P('a'), P('b')), P('a/b'))
self.assertEqual(P(P('a'), P('b'), P('c')), P(FakePath("a/b/c")))
self.assertEqual(P(P('./a:b')), P('./a:b'))
if os.name != "nt":
self.assertEqual(P(P('./a:b')), P('./a:b'))

def test_bytes(self):
P = self.cls
Expand Down

0 comments on commit 1b29429

Please sign in to comment.