1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed support for Python 3.3.

This commit is contained in:
Tim Graham
2015-06-15 09:43:35 -04:00
parent e5cb4e1411
commit 7f1168e387
17 changed files with 44 additions and 65 deletions

View File

@@ -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