X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=test%2Ftest_swfinterp.py;h=f1e8998192b131613cb9d26a1167ce35e0a61e9f;hb=609ff8ca19f1c4c168a81121074b91cc0f0d4c47;hp=273e0f07434058c598a2c5e6a98cb617645d23ab;hpb=9908e0352872b252494747346589922358aa0375;p=youtube-dl diff --git a/test/test_swfinterp.py b/test/test_swfinterp.py index 273e0f074..f1e899819 100644 --- a/test/test_swfinterp.py +++ b/test/test_swfinterp.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +from __future__ import unicode_literals # Allow direct execution import os @@ -33,8 +34,8 @@ def _make_testfunc(testfile): def test_func(self): as_file = os.path.join(TEST_DIR, testfile) swf_file = os.path.join(TEST_DIR, test_id + '.swf') - if ((not os.path.exists(swf_file)) - or os.path.getmtime(swf_file) < os.path.getmtime(as_file)): + if ((not os.path.exists(swf_file)) or + os.path.getmtime(swf_file) < os.path.getmtime(as_file)): # Recompile try: subprocess.check_call([