From 8c0eefd066aa0e5bfe8c1006d055be8e2ad69a2b Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 13 Oct 2011 21:34:56 +0000 Subject: Convert the remainder of the relative imports in the tests to be absolute imports. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/m2m_through_regress/tests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/regressiontests/m2m_through_regress/tests.py') diff --git a/tests/regressiontests/m2m_through_regress/tests.py b/tests/regressiontests/m2m_through_regress/tests.py index fb2cb04d9b..1c188d05c3 100644 --- a/tests/regressiontests/m2m_through_regress/tests.py +++ b/tests/regressiontests/m2m_through_regress/tests.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import + try: from cStringIO import StringIO except ImportError: @@ -7,8 +9,8 @@ from django.core import management from django.contrib.auth.models import User from django.test import TestCase -from models import (Person, Group, Membership, UserMembership, - Car, Driver, CarDriver) +from .models import (Person, Group, Membership, UserMembership, Car, Driver, + CarDriver) class M2MThroughTestCase(TestCase): -- cgit v1.2.1