diff --git a/test/test_art.py b/test/test_art.py index 7902bb213..e1c22ad19 100644 --- a/test/test_art.py +++ b/test/test_art.py @@ -15,8 +15,7 @@ """Tests for the album art fetchers.""" -from __future__ import (division, absolute_import, print_function, - unicode_literals) +from __future__ import (division, absolute_import, print_function) import os import shutil @@ -298,10 +297,10 @@ class ArtImporterTest(UseThePlugin): self.task.is_album = True self.task.album = self.album info = AlbumInfo( - album='some album', - album_id='albumid', - artist='some artist', - artist_id='artistid', + album=u'some album', + album_id=u'albumid', + artist=u'some artist', + artist_id=u'artistid', tracks=[], ) self.task.set_choice(AlbumMatch(0, info, {}, set(), set())) @@ -439,7 +438,7 @@ class ArtForAlbumTest(UseThePlugin): PIL (so comparisons and measurements are unavailable). """ if ArtResizer.shared.method[0] == WEBPROXY: - self.skipTest("ArtResizer has no local imaging backend available") + self.skipTest(u"ArtResizer has no local imaging backend available") def test_respect_minwidth(self): self._require_backend() diff --git a/test/test_autotag.py b/test/test_autotag.py index 2aecfb559..f5f13d4a7 100644 --- a/test/test_autotag.py +++ b/test/test_autotag.py @@ -15,8 +15,7 @@ """Tests for autotagging functionality. """ -from __future__ import (division, absolute_import, print_function, - unicode_literals) +from __future__ import (division, absolute_import, print_function) import re import copy @@ -636,7 +635,7 @@ class ApplyTest(_common.TestCase, ApplyTestUtil): trackinfo = [] trackinfo.append(TrackInfo( u'oneNew', - 'dfa939ec-118c-4d0f-84a0-60f3d1e6522c', + u'dfa939ec-118c-4d0f-84a0-60f3d1e6522c', medium=1, medium_index=1, medium_total=1, @@ -646,7 +645,7 @@ class ApplyTest(_common.TestCase, ApplyTestUtil): )) trackinfo.append(TrackInfo( u'twoNew', - '40130ed1-a27c-42fd-a328-1ebefb6caef4', + u'40130ed1-a27c-42fd-a328-1ebefb6caef4', medium=2, medium_index=1, index=2, @@ -808,16 +807,16 @@ class ApplyCompilationTest(_common.TestCase, ApplyTestUtil): trackinfo = [] trackinfo.append(TrackInfo( u'oneNew', - 'dfa939ec-118c-4d0f-84a0-60f3d1e6522c', + u'dfa939ec-118c-4d0f-84a0-60f3d1e6522c', u'artistOneNew', - 'a05686fc-9db2-4c23-b99e-77f5db3e5282', + u'a05686fc-9db2-4c23-b99e-77f5db3e5282', index=1, )) trackinfo.append(TrackInfo( u'twoNew', - '40130ed1-a27c-42fd-a328-1ebefb6caef4', + u'40130ed1-a27c-42fd-a328-1ebefb6caef4', u'artistTwoNew', - '80b3cf5e-18fe-4c59-98c7-e5bb87210710', + u'80b3cf5e-18fe-4c59-98c7-e5bb87210710', index=2, )) self.info = AlbumInfo(