[vlc-commits] python: ignore generator test for python2
Olivier Aubert
git at videolan.org
Sun Jan 10 11:55:52 UTC 2021
vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Sun Jan 10 12:53:56 2021 +0100| [aabbce741c8c28f8376c55b1bd2163f293030415] | committer: Olivier Aubert
python: ignore generator test for python2
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=aabbce741c8c28f8376c55b1bd2163f293030415
---
tests/test.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/test.py b/tests/test.py
index 479b005..69459bc 100755
--- a/tests/test.py
+++ b/tests/test.py
@@ -53,6 +53,8 @@ try:
from generator import generate
except ImportError:
generate = None
+except SyntaxError:
+ generate = None
SAMPLE = os.path.join(os.path.dirname(__file__), 'samples/sample.mp4')
print ("Checking " + vlc.__file__)
More information about the vlc-commits
mailing list