summaryrefslogtreecommitdiff
path: root/tests/validators
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validators')
-rw-r--r--tests/validators/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/validators/tests.py b/tests/validators/tests.py
index 2f26efcaa5..124c2b1c68 100644
--- a/tests/validators/tests.py
+++ b/tests/validators/tests.py
@@ -17,7 +17,6 @@ from django.core.validators import (
)
from django.test import SimpleTestCase
from django.test.utils import str_prefix
-from django.utils._os import upath
try:
from PIL import Image # noqa
@@ -263,7 +262,7 @@ TEST_DATA = [
def create_path(filename):
- return os.path.abspath(os.path.join(os.path.dirname(upath(__file__)), filename))
+ return os.path.abspath(os.path.join(os.path.dirname(__file__), filename))
# Add valid and invalid URL tests.