Skip to content

Commit 526aa98

Browse files
committed
os.path.sep
1 parent 35ee017 commit 526aa98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_cloud_io.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
from unittest import mock
23

34
import pytest
@@ -18,7 +19,7 @@ def test_wrong_model_name(name):
1819
[
1920
("path/to/checkpoint", "path/to/checkpoint"),
2021
# (BoringModel(), "%s/BoringModel.ckpt"),
21-
(Module(), "%s/Module.pth"),
22+
(Module(), f"%s{os.path.sep}Module.pth"),
2223
],
2324
)
2425
def test_upload_model(mocker, tmpdir, model, model_path):

0 commit comments

Comments
 (0)