mirror of
https://github.com/django/django.git
synced 2025-10-28 16:16:12 +00:00
[1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0.
Conflicts:
django/db/backends/oracle/base.py
django/db/backends/sqlite3/base.py
django/db/models/base.py
Backport of 365c3e8b from master.
This commit is contained in:
@@ -59,7 +59,7 @@ __test__ = {"API_TEST": r"""
|
||||
|
||||
"""}
|
||||
|
||||
if not six.PY3:
|
||||
if six.PY2:
|
||||
__test__["API_TEST"] += """
|
||||
>>> def produce_long():
|
||||
... return 42L
|
||||
|
||||
Reference in New Issue
Block a user