Skip to content

Commit 3c850e5

Browse files
committed
tests: make file check windows compatible
1 parent aad7d68 commit 3c850e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pins/tests/test_boards.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def test_board_pin_download_filename(board_with_cache, tmp_path):
164164
assert meta.file == "data.csv"
165165

166166
(pin_path,) = board_with_cache.pin_download("cool_pin")
167-
assert pin_path.endswith("/data.csv")
167+
assert Path(pin_path).name == "data.csv"
168168

169169

170170
def test_board_pin_download_no_cache_error(board, tmp_path):

0 commit comments

Comments
 (0)