diff options
author | Tim Graham <timograham@gmail.com> | 2017-01-20 08:01:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-20 08:01:02 -0500 |
commit | 4e729feaa647547f25debb1cb63dec989dc41a20 (patch) | |
tree | 7c7a38c5961bf4daf98a8cb47dc74c769563ffcf /tests/fixtures_regress | |
parent | ec4c1d6717da7a9d09d5b3ce84cccac819bb592c (diff) | |
download | django-4e729feaa647547f25debb1cb63dec989dc41a20.tar.gz |
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
Diffstat (limited to 'tests/fixtures_regress')
-rw-r--r-- | tests/fixtures_regress/tests.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/fixtures_regress/tests.py b/tests/fixtures_regress/tests.py index 538fee55a2..3ca5084995 100644 --- a/tests/fixtures_regress/tests.py +++ b/tests/fixtures_regress/tests.py @@ -14,7 +14,6 @@ from django.test import ( TestCase, TransactionTestCase, override_settings, skipIfDBFeature, skipUnlessDBFeature, ) -from django.utils._os import upath from .models import ( Absolute, Animal, Article, Book, Child, Circle1, Circle2, Circle3, @@ -26,7 +25,7 @@ from .models import ( Person, RefToNKChild, Store, Stuff, Thingy, Widget, ) -_cur_dir = os.path.dirname(os.path.abspath(upath(__file__))) +_cur_dir = os.path.dirname(os.path.abspath(__file__)) class TestFixtures(TestCase): @@ -142,7 +141,7 @@ class TestFixtures(TestCase): fixture directory. """ load_absolute_path = os.path.join( - os.path.dirname(upath(__file__)), + os.path.dirname(__file__), 'fixtures', 'absolute.json' ) |