From ce8d7bf9f10353ac1b1150934952b4a25ad587ce Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Fri, 27 May 2016 23:46:33 -0400 Subject: [PATCH] remove unittest2 import (py < 2.7) --- test/_common.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/_common.py b/test/_common.py index 33928fb66..4527942cf 100644 --- a/test/_common.py +++ b/test/_common.py @@ -21,13 +21,9 @@ import sys import os import tempfile import shutil +import unittest from contextlib import contextmanager -# Use unittest2 on Python < 2.7. -try: - import unittest2 as unittest -except ImportError: - import unittest # Mangle the search path to include the beets sources. sys.path.insert(0, '..') # noqa