Skip to content

Commit 1670627

Browse files
JulianKimmigagriyakhetarpalryanking13
authored
file url is always as posix (#145)
Co-authored-by: Agriya Khetarpal <[email protected]> Co-authored-by: Gyeongjae Choi <[email protected]>
1 parent 9683fa2 commit 1670627

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## Unreleased
2+
3+
### Fixed
4+
5+
- Fixed path handling in windows environment.
6+
[#145](https://github.com/pyodide/pytest-pyodide/pull/145)
7+
18
## [0.58.3] - 2024-07-23
29

310
### Added

pytest_pyodide/copy_files_to_pyodide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async def _fetch_file(src,dest):
111111
)
112112
for file, dest in new_files:
113113
_copied_files[selenium].append((file, dest))
114-
file_url = base_url + str(file.relative_to(base_path))
114+
file_url = base_url + str(file.relative_to(base_path).as_posix())
115115
if file.suffix == ".whl" and install_wheels:
116116
# wheel - install the wheel on the pyodide side before
117117
# any fetches (and don't copy it)

0 commit comments

Comments
 (0)