Skip to content

Commit 717e257

Browse files
committed
chore(test): use pathlib for paths
1 parent f12ffc8 commit 717e257

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/functional/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import os
21
import tempfile
2+
from pathlib import Path
33
from random import randint
44

55
import pytest
@@ -22,7 +22,7 @@ def random_id():
2222

2323
@pytest.fixture(scope="session")
2424
def CONFIG():
25-
return os.path.join(TEMP_DIR, "python-gitlab.cfg")
25+
return Path(TEMP_DIR) / "python-gitlab.cfg"
2626

2727

2828
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)