summaryrefslogtreecommitdiff
path: root/tests/apps
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-06-15 09:43:35 -0400
committerTim Graham <timograham@gmail.com>2015-06-18 08:36:50 -0400
commit7f1168e387dc1db70b6093cfd23a4a6978f48109 (patch)
treec3a9f335536fa078d39ad43458feaeac990e3538 /tests/apps
parente5cb4e14118f3a508e3bc00ee7cd50bb0f18a61d (diff)
downloaddjango-7f1168e387dc1db70b6093cfd23a4a6978f48109.tar.gz
Removed support for Python 3.3.
Diffstat (limited to 'tests/apps')
-rw-r--r--tests/apps/tests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/apps/tests.py b/tests/apps/tests.py
index 2837e78aff..c199fa156d 100644
--- a/tests/apps/tests.py
+++ b/tests/apps/tests.py
@@ -1,7 +1,6 @@
from __future__ import unicode_literals
import os
-import sys
import warnings
from unittest import skipUnless
@@ -367,9 +366,7 @@ class AppConfigTests(SimpleTestCase):
AppConfig('label', Stub(__path__=['a', 'b']))
-@skipUnless(
- sys.version_info > (3, 3, 0),
- "Namespace packages sans __init__.py were added in Python 3.3")
+@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