1. Atsushi Odagiri
  2. WebHelpers


Mike Orr  committed 155effd

Move relative import to top of file to eliminate ImportError.

  • Participants
  • Parent commits 1d9bc0b
  • Branches trunk

Comments (0)

Files changed (1)

File tests/test_tools.py

View file
  • Ignore whitespace
 # -*- coding: utf-8 -*-
+# Relative import -- must be first in file to avoid ImportError
+from util import WebHelpersTestCase
 import re
 import unittest
 from string24 import Template
-# Relative import
-from util import WebHelpersTestCase
 from nose.tools import eq_
 from routes import url_for