aboutsummaryrefslogtreecommitdiff
path: root/Tests/feaLib/error_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/feaLib/error_test.py')
-rw-r--r--Tests/feaLib/error_test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/feaLib/error_test.py b/Tests/feaLib/error_test.py
index 87cbecb2..2ebb3e4c 100644
--- a/Tests/feaLib/error_test.py
+++ b/Tests/feaLib/error_test.py
@@ -1,12 +1,11 @@
-from __future__ import print_function, division, absolute_import
-from __future__ import unicode_literals
from fontTools.feaLib.error import FeatureLibError
+from fontTools.feaLib.location import FeatureLibLocation
import unittest
class FeatureLibErrorTest(unittest.TestCase):
def test_str(self):
- err = FeatureLibError("Squeak!", ("foo.fea", 23, 42))
+ err = FeatureLibError("Squeak!", FeatureLibLocation("foo.fea", 23, 42))
self.assertEqual(str(err), "foo.fea:23:42: Squeak!")
def test_str_nolocation(self):