Removed import of unicode_literals

* test/lyrics_download_samples.py
* test/rsrc/beetsplug/test.py
This commit is contained in:
Peter Kessen 2016-02-20 14:48:35 +01:00
parent a5ce7a2814
commit 302ca94bfb
2 changed files with 4 additions and 6 deletions

View file

@ -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']

View file

@ -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