Skip to content

Commit 9403c94

Browse files
committed
tests: remove pathlib2 support
We depend on Python>=3.5 so it will never get used.
1 parent 45087ec commit 9403c94

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/conftest.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import copy
22
import shutil
33
from textwrap import dedent
4+
import pathlib
45

56
import pytest
67
from django.conf import settings
78

8-
try:
9-
import pathlib
10-
except ImportError:
11-
import pathlib2 as pathlib
129

1310
pytest_plugins = "pytester"
1411

0 commit comments

Comments
 (0)