We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c44d147 commit f4fa36fCopy full SHA for f4fa36f
tests/settings.py
@@ -1,9 +1,9 @@
1
# -*- coding: utf-8 -*-
2
-import os.path
+from pathlib import Path
3
4
DEBUG = False
5
6
-RUNTESTS_DIR = os.path.abspath(os.path.dirname(__file__))
+RUNTESTS_DIR = Path(__file__).parent.resolve()
7
8
DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3"}}
9
0 commit comments