mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
This commit is contained in:
parent
ec4c1d6717
commit
4e729feaa6
64 changed files with 108 additions and 178 deletions
|
@ -5,11 +5,10 @@ for the GEOS and GDAL tests.
|
|||
import json
|
||||
import os
|
||||
|
||||
from django.utils._os import upath
|
||||
from django.utils.functional import cached_property
|
||||
|
||||
# Path where reference test data is located.
|
||||
TEST_DATA = os.path.join(os.path.dirname(upath(__file__)), 'data')
|
||||
TEST_DATA = os.path.join(os.path.dirname(__file__), 'data')
|
||||
|
||||
|
||||
def tuplize(seq):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue