]> jfr.im git - yt-dlp.git/blobdiff - test/test_jsinterp.py
[cleanup] Misc
[yt-dlp.git] / test / test_jsinterp.py
index b46d0949d49e7bf5d71e6043b174cf5dc9ca0e07..92ef532f56bba13d220cf2924c2ce3c2ea3a2bff 100644 (file)
@@ -387,7 +387,7 @@ def test_regex(self):
         ''')
         self.assertEqual(jsi.call_function('x').flags & re.I, re.I)
 
-        jsi = JSInterpreter('''
+        jsi = JSInterpreter(R'''
         function x() { let a=/,][}",],()}(\[)/; return a; }
         ''')
         self.assertEqual(jsi.call_function('x').pattern, r',][}",],()}(\[)')