diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scanner/annotationparser/test_parser.py | 1 | ||||
-rw-r--r-- | tests/scanner/annotationparser/test_patterns.py | 2 | ||||
-rw-r--r-- | tests/scanner/test_sourcescanner.py | 2 | ||||
-rw-r--r-- | tests/scanner/test_transformer.py | 2 | ||||
-rw-r--r-- | tests/warn/warningtester.py | 2 |
5 files changed, 8 insertions, 1 deletions
diff --git a/tests/scanner/annotationparser/test_parser.py b/tests/scanner/annotationparser/test_parser.py index 99c5da79..01bd000e 100644 --- a/tests/scanner/annotationparser/test_parser.py +++ b/tests/scanner/annotationparser/test_parser.py @@ -25,6 +25,7 @@ test_parser.py Tests ensuring annotationparser.py continues to function correctly. ''' +from __future__ import absolute_import import difflib import os diff --git a/tests/scanner/annotationparser/test_patterns.py b/tests/scanner/annotationparser/test_patterns.py index 738a83ff..327f240d 100644 --- a/tests/scanner/annotationparser/test_patterns.py +++ b/tests/scanner/annotationparser/test_patterns.py @@ -18,7 +18,6 @@ # 02110-1301, USA. # - ''' test_patterns.py @@ -30,6 +29,7 @@ should match, resulting symbolic groups are verified against the expected output. ''' +from __future__ import absolute_import from giscanner.annotationparser import (COMMENT_BLOCK_START_RE, COMMENT_BLOCK_END_RE, COMMENT_ASTERISK_RE, INDENTATION_RE, EMPTY_LINE_RE, diff --git a/tests/scanner/test_sourcescanner.py b/tests/scanner/test_sourcescanner.py index 3963683d..a6655540 100644 --- a/tests/scanner/test_sourcescanner.py +++ b/tests/scanner/test_sourcescanner.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import + import unittest import tempfile import os diff --git a/tests/scanner/test_transformer.py b/tests/scanner/test_transformer.py index 37dbce91..c9ca75f3 100644 --- a/tests/scanner/test_transformer.py +++ b/tests/scanner/test_transformer.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import + import unittest import tempfile import os diff --git a/tests/warn/warningtester.py b/tests/warn/warningtester.py index b2117910..4138518a 100644 --- a/tests/warn/warningtester.py +++ b/tests/warn/warningtester.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import + import __builtin__ import os import sys |