aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utilities_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utilities_tests.py')
-rw-r--r--tests/utilities_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utilities_tests.py b/tests/utilities_tests.py
index 3513f42c..fa861563 100644
--- a/tests/utilities_tests.py
+++ b/tests/utilities_tests.py
@@ -19,7 +19,7 @@ TEST_DIR = os.path.dirname(__file__)
class GrepTest(unittest.TestCase):
def test_file_obj(self):
- test_s = "\n".join(['this is only a test', 'there are only two lines'])
+ test_s = u"\n".join(['this is only a test', 'there are only two lines'])
test_fo = StringIO(test_s)
matches = grep(".*test$", test_fo)
self.assertEquals(matches, ['this is only a test\n'])