aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-11-28 00:46:21 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-11-28 00:46:21 +0100
commit8cd10ac4efb5168f3ceb18ec94338bce73e166a7 (patch)
tree623c36d8609da02b749ffc6fe17bc025c055687f /test
parent64a57846d3fe3aa919ee3539956763c8ef3211b6 (diff)
Fix printing title etc.
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index b8fc13aef..e2f226bf1 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -13,7 +13,7 @@ from youtube_dl.utils import sanitize_filename
from youtube_dl.utils import unescapeHTML
from youtube_dl.utils import orderedSet
-if sys.version < (3,0):
+if sys.version_info < (3,0):
_compat_str = lambda b: b.decode('unicode-escape')
else:
_compat_str = lambda s: s