From 642ebc6098da30a1aa41006fee809ff3b654d55a Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Thu, 28 May 2020 15:52:00 -0700 Subject: [PATCH] Fix test that failed on Windows --- tests/test_helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_helpers.py b/tests/test_helpers.py index b7355903..c211477f 100644 --- a/tests/test_helpers.py +++ b/tests/test_helpers.py @@ -111,6 +111,6 @@ def test_shim_paths(tmp_path): result_str = shim_paths_with_program_files(env=env) results = result_str.split(os.pathsep) assert results[0].endswith('tesseract-ocr') - assert results[1].endswith('gs/9.52/bin') - assert results[2].endswith('gs/9.51/bin') + assert results[1].endswith(os.path.join('gs', '9.52', 'bin')) + assert results[2].endswith(os.path.join('gs', '9.51', 'bin')) assert results[3] == str(syspath)