Skip to content

Commit 1696789

Browse files
committed
Removed re and added brackets
1 parent a2136e1 commit 1696789

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_plugins.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import logging
2020
import os
2121
import pkgutil
22-
import re
2322
import sys
2423
from unittest.mock import ANY, Mock, patch
2524

@@ -582,7 +581,7 @@ def test_import_plugin(self, caplog, plugin_name): #
582581

583582
caplog.set_level(logging.WARNING)
584583
caplog.clear()
585-
plugins.load_plugins(plugin_name)
584+
plugins.load_plugins([plugin_name])
586585

587586
# Check for warnings, is a bit hacky but we can make full use of the beets
588587
# load_plugins code that way

0 commit comments

Comments
 (0)