Skip to content

Commit 5a56b6b

Browse files
committed
chore(test): use pathlib for paths
1 parent ad4b87c commit 5a56b6b

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy