diff --git a/beets/autotag/hooks.py b/beets/autotag/hooks.py index 350ca065c..74145e78d 100644 --- a/beets/autotag/hooks.py +++ b/beets/autotag/hooks.py @@ -60,10 +60,6 @@ class Map(dict): def __setattr__(self, key, value): self.__setitem__(key, value) - def __setitem__(self, key, value): - super(Map, self).__setitem__(key, value) - self.__dict__.update({key: value}) - def __delattr__(self, item): self.__delitem__(item) diff --git a/test/test_autotag.py b/test/test_autotag.py index 97030785b..385b793ee 100644 --- a/test/test_autotag.py +++ b/test/test_autotag.py @@ -18,7 +18,6 @@ from __future__ import division, absolute_import, print_function import re -import copy import unittest from test import _common diff --git a/test/test_ui.py b/test/test_ui.py index 608c1d7fb..d0be10060 100644 --- a/test/test_ui.py +++ b/test/test_ui.py @@ -22,7 +22,6 @@ import shutil import re import subprocess import platform -from copy import deepcopy import six import unittest