summaryrefslogtreecommitdiff
path: root/tests/apps
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2016-12-01 11:38:01 +0100
committerClaude Paroz <claude@2xlibre.net>2017-01-18 16:21:28 +0100
commitc716fe87821df00f9f03ecc761c914d1682591a2 (patch)
tree0436706cdb190acbc76fb5fcf6d66f16e09fafa3 /tests/apps
parente63d98b7beb16d1410168a2315cbe04c43c9c80d (diff)
downloaddjango-c716fe87821df00f9f03ecc761c914d1682591a2.tar.gz
Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
Diffstat (limited to 'tests/apps')
-rw-r--r--tests/apps/tests.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/apps/tests.py b/tests/apps/tests.py
index d2adc681f2..9576420b54 100644
--- a/tests/apps/tests.py
+++ b/tests/apps/tests.py
@@ -1,5 +1,4 @@
import os
-from unittest import skipUnless
from django.apps import AppConfig, apps
from django.apps.registry import Apps
@@ -8,7 +7,6 @@ from django.core.exceptions import AppRegistryNotReady, ImproperlyConfigured
from django.db import models
from django.test import SimpleTestCase, override_settings
from django.test.utils import extend_sys_path, isolate_apps
-from django.utils import six
from django.utils._os import upath
from .default_config_app.apps import CustomConfig
@@ -371,7 +369,6 @@ class AppConfigTests(SimpleTestCase):
self.assertEqual(ac.path, 'a')
-@skipUnless(six.PY3, "Namespace packages sans __init__.py were added in Python 3.3")
class NamespacePackageAppTests(SimpleTestCase):
# We need nsapp to be top-level so our multiple-paths tests can add another
# location for it (if its inside a normal package with an __init__.py that