Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix test to determine if attest's import hook should be disabled

  • Loading branch information...
commit 4cb4ac91c973c9a204216b51b4c6165ddeeb6583 1 parent a6cbbfe
@bradleyayers authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 django_attest/environment.py
  2. +1 −1  setup.py
View
4 django_attest/environment.py
@@ -7,8 +7,8 @@
def _fix_for_django():
- if parse_version(django.get_version()) <= parse_version('1.3'):
- warnings.warn("Django <=1.3 has broken import infrastructure, Attest's"
+ if parse_version(django.get_version()) < parse_version('1.4'):
+ warnings.warn("Django <1.4 has broken import infrastructure, Attest's"
" assert hook will be disabled.")
AssertImportHook.disable()
View
2  setup.py
@@ -4,7 +4,7 @@
setup(
name='django-attest',
- version='0.2.3',
+ version='0.2.4',
description = 'Provides Django specific testing helpers to Attest',
author='Bradley Ayers',
Please sign in to comment.
Something went wrong with that request. Please try again.