diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-11-16 15:17:48 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-11-16 15:17:48 +0100 |
commit | a0f59cdcb405b0556bff9884a7a82f3b808263dd (patch) | |
tree | ae0bc84ae1c8ad4e9c386fb611c7e1e000913ad2 /test/test_age_restriction.py | |
parent | a4bc4336196c62bfc7e34046172c442108b19d55 (diff) |
[tests] Modernize
Diffstat (limited to 'test/test_age_restriction.py')
-rw-r--r-- | test/test_age_restriction.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_age_restriction.py b/test/test_age_restriction.py index 71e80b037..5be065c43 100644 --- a/test/test_age_restriction.py +++ b/test/test_age_restriction.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +from __future__ import unicode_literals # Allow direct execution import os @@ -19,7 +20,7 @@ def _download_restricted(url, filename, age): 'age_limit': age, 'skip_download': True, 'writeinfojson': True, - "outtmpl": "%(id)s.%(ext)s", + 'outtmpl': '%(id)s.%(ext)s', } ydl = YoutubeDL(params) ydl.add_default_info_extractors() |