From 41beccbab0f8ecaace69c5d6ffb00ac20a813565 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 27 Jun 2013 19:43:43 +0200 Subject: [PATCH] Use str every time --- test/test_download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_download.py b/test/test_download.py index dbb73d32a..019498f62 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -168,7 +168,7 @@ def _hook(status): 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)