diff --git a/beetsplug/replaygain.py b/beetsplug/replaygain.py index b6297d937..383bb3da3 100644 --- a/beetsplug/replaygain.py +++ b/beetsplug/replaygain.py @@ -22,7 +22,7 @@ import subprocess import sys import warnings from multiprocessing.pool import ThreadPool, RUN -from six.moves import queue +import queue from threading import Thread, Event from beets import ui diff --git a/test/helper.py b/test/helper.py index ba71ddc24..988995f48 100644 --- a/test/helper.py +++ b/test/helper.py @@ -37,7 +37,7 @@ import shutil import subprocess from tempfile import mkdtemp, mkstemp from contextlib import contextmanager -from six import StringIO +from io import StringIO from enum import Enum import beets diff --git a/test/test_importer.py b/test/test_importer.py index 306491af2..60c0b793f 100644 --- a/test/test_importer.py +++ b/test/test_importer.py @@ -21,7 +21,7 @@ import shutil import unicodedata import sys import stat -from six import StringIO +from io import StringIO from tempfile import mkstemp from zipfile import ZipFile from tarfile import TarFile diff --git a/test/test_logging.py b/test/test_logging.py index 76a73e931..8a9fd8742 100644 --- a/test/test_logging.py +++ b/test/test_logging.py @@ -3,7 +3,7 @@ import sys import threading import logging as log -from six import StringIO +from io import StringIO import unittest import beets.logging as blog diff --git a/test/test_spotify.py b/test/test_spotify.py index f90ecd907..76148862d 100644 --- a/test/test_spotify.py +++ b/test/test_spotify.py @@ -10,7 +10,7 @@ from beets import config from beets.library import Item from beetsplug import spotify from test.helper import TestHelper -from six.moves.urllib.parse import parse_qs, urlparse +from urllib.parse import parse_qs, urlparse class ArgumentsMock: