Skip to content

Commit f4fa36f

Browse files
committed
Use pathlib in tests/settings.py
1 parent c44d147 commit f4fa36f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# -*- coding: utf-8 -*-
2-
import os.path
2+
from pathlib import Path
33

44
DEBUG = False
55

6-
RUNTESTS_DIR = os.path.abspath(os.path.dirname(__file__))
6+
RUNTESTS_DIR = Path(__file__).parent.resolve()
77

88
DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3"}}
99

0 commit comments

Comments
 (0)