From 92950ec5320a96e1513db9d54a3e648622a0295c Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Sun, 12 Jun 2016 18:17:27 -0400 Subject: [PATCH] wrap keys() result in a list() in importadded tests --- test/test_importadded.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_importadded.py b/test/test_importadded.py index bddd884f9..80491aa0a 100644 --- a/test/test_importadded.py +++ b/test/test_importadded.py @@ -156,7 +156,7 @@ class ImportAddedTest(unittest.TestCase, ImportHelper): # Newer Item path mtimes as if Beets had modified them modify_mtimes(items_added_before.keys(), offset=10000) # Reimport - import_dir = os.path.dirname(items_added_before.keys()[0]) + import_dir = os.path.dirname(list(items_added_before.keys())[0]) self._setup_import_session(import_dir=import_dir, singletons=True) self.importer.run() # Verify the reimported items