diff options
author | Philipp Hagemeister <[email protected]> | 2013-06-27 19:43:43 +0200 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2013-06-27 19:43:43 +0200 |
commit | 41beccbab0f8ecaace69c5d6ffb00ac20a813565 (patch) | |
tree | 3c02f5be828ddd9c8dd85b36f4eaad59100a0416 | |
parent | 2eb88d953f25e178881c1415c68fea1f770a7ee6 (diff) | |
download | youtube-dl-41beccbab0f8ecaace69c5d6ffb00ac20a813565.tar.gz youtube-dl-41beccbab0f8ecaace69c5d6ffb00ac20a813565.zip |
Use str every time
-rw-r--r-- | test/test_download.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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) |