aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAdam Stokes <adam.stokes@ubuntu.com>2014-04-04 17:53:40 -0400
committerAdam Stokes <adam.stokes@ubuntu.com>2014-04-04 17:53:40 -0400
commit2a70f85f14fc264f3fd31089a0d4c31230e38602 (patch)
tree88eb09d9c8a611296d95fd80d16c6c6530372a5f /tests
parent5c04d108823a6eb0ee26671cb44e0404fc2c3352 (diff)
downloadsos-2a70f85f14fc264f3fd31089a0d4c31230e38602.tar.gz
Properly state unicode literal in Python 3.2
The 'u' prefix wasn't reintroduced back into Python 3 until version 3.3. Use six here to accomodate for that. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/archive_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/archive_tests.py b/tests/archive_tests.py
index d26af1dc..f38351d1 100644
--- a/tests/archive_tests.py
+++ b/tests/archive_tests.py
@@ -35,7 +35,7 @@ class ZipFileArchiveTest(unittest.TestCase):
self.check_for_file('tests/ziptest')
def test_add_unicode_file(self):
- self.zf.add_file(u'tests/')
+ self.zf.add_file(six.u('tests/')
self.zf.close()
self.check_for_file('tests/ziptest')