diff --git a/test/lyrics_download_samples.py b/test/lyrics_download_samples.py index 3a32577f9..fcc5a4db5 100644 --- a/test/lyrics_download_samples.py +++ b/test/lyrics_download_samples.py @@ -13,8 +13,7 @@ # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. -from __future__ import (division, absolute_import, print_function, - unicode_literals) +from __future__ import (division, absolute_import, print_function) import os import sys @@ -45,7 +44,7 @@ def main(argv=None): """ if argv is None: argv = sys.argv - print('Fetching samples from:') + print(u'Fetching samples from:') for s in test_lyrics.GOOGLE_SOURCES + test_lyrics.DEFAULT_SOURCES: print(s['url']) url = s['url'] + s['path'] diff --git a/test/rsrc/beetsplug/test.py b/test/rsrc/beetsplug/test.py index 85c6eb0c2..669072987 100644 --- a/test/rsrc/beetsplug/test.py +++ b/test/rsrc/beetsplug/test.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import (division, absolute_import, print_function, - unicode_literals) +from __future__ import (division, absolute_import, print_function) from beets.plugins import BeetsPlugin from beets import ui @@ -17,7 +16,7 @@ class TestPlugin(BeetsPlugin): test.func = lambda *args: None # Used in CompletionTest - test.parser.add_option('-o', '--option', dest='my_opt') + test.parser.add_option(u'-o', u'--option', dest='my_opt') plugin = ui.Subcommand('plugin') plugin.func = lambda *args: None