From e34f58bc0378bb4cbd84f5760b07a7ded116eb7d Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Wed, 21 Oct 2020 09:49:38 -0400 Subject: [PATCH] Call `.as_posix()` for Windows test --- tests/io/test_partitioned_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/io/test_partitioned_dataset.py b/tests/io/test_partitioned_dataset.py index 355f54c225..e612072487 100644 --- a/tests/io/test_partitioned_dataset.py +++ b/tests/io/test_partitioned_dataset.py @@ -323,7 +323,7 @@ def test_malformed_versioned_path(self, tmp_path): ) pattern = re.escape( - f"`{path}` is not a well-formed versioned path ending with " + f"`{path.as_posix()}` is not a well-formed versioned path ending with " "`filename/timestamp/filename` (got `version/partition/" "file`)." )