aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_youtube_signature.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_youtube_signature.py')
-rw-r--r--test/test_youtube_signature.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py
index 7d1ff90ba..1c2ba848e 100644
--- a/test/test_youtube_signature.py
+++ b/test/test_youtube_signature.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding: utf-8
from __future__ import unicode_literals
@@ -275,7 +276,8 @@ def signature(jscode, sig_input):
def n_sig(jscode, sig_input):
funcname = YoutubeIE(FakeYDL())._extract_n_function_name(jscode)
- return JSInterpreter(jscode).call_function(funcname, sig_input)
+ return JSInterpreter(jscode).call_function(
+ funcname, sig_input, _ytdl_do_not_return=sig_input)
make_sig_test = t_factory(