Skip to content

A feature-rich command-line audio/video downloader

Use str every time

Philipp Hagemeister41beccbab0f8
diff --git a/test/test_download.py b/test/test_download.py
index dbb73d32a3..019498f625 100644
--- a/test/test_download.py
+++ b/test/test_download.py
@@ -168,7 +168,7 @@ for n, test_case in enumerate(defs):
tname = 'test_' + str(test_case['name'])
i = 1
while hasattr(TestDownload, tname):
- tname = 'test_' + test_case['name'] + '_' + str(i)
+ tname = 'test_' + str(test_case['name']) + '_' + str(i)
i += 1
test_method.__name__ = tname
setattr(TestDownload, test_method.__name__, test_method)