[Bug 777989] New: GES tests fail on Debian because nose2 is the Python 2 version
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jan 31 15:23:32 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=777989
Bug ID: 777989
Summary: GES tests fail on Debian because nose2 is the Python 2
version
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-build
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: slomo at coaxion.net
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
nose2-3 would have to be used instead.
LD_LIBRARY_PATH='/home/slomo/Projects/gstreamer/gst-build/build/subprojects/gst-editing-services/tests/check/../../ges/'
GI_TYPELIB_PATH='/home/slomo/Projects/gstreamer/gst-build/build/subprojects/gst-editing-services/tests/check/../../ges/'
/usr/bin/nose2 --start-dir
/home/slomo/Projects/gstreamer/gst-build/subprojects/gst-editing-services/tests/check
--plugin nose2.plugins.junitxml --config
/home/slomo/Projects/gstreamer/gst-build/build/subprojects/gst-editing-services/tests/check/Test_groups.cfg
python.test_group
--- stderr ---
Traceback (most recent call last):
File "/usr/bin/nose2", line 11, in <module>
load_entry_point('nose2==0.6.5', 'console_scripts', 'nose2')()
File "/usr/lib/python2.7/dist-packages/nose2/main.py", line 306, in discover
return main(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/nose2/main.py", line 100, in __init__
super(PluggableTestProgram, self).__init__(**kw)
File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/usr/lib/python2.7/dist-packages/nose2/main.py", line 133, in parseArgs
self.createTests()
File "/usr/lib/python2.7/dist-packages/nose2/main.py", line 258, in
createTests
self.testNames, self.module)
File "/usr/lib/python2.7/dist-packages/nose2/loader.py", line 69, in
loadTestsFromNames
for name in event.names]
File "/usr/lib/python2.7/dist-packages/nose2/loader.py", line 84, in
loadTestsFromName
result = self.session.hooks.loadTestsFromName(event)
File "/usr/lib/python2.7/dist-packages/nose2/events.py", line 224, in
__call__
result = getattr(plugin, self.method)(event)
File "/usr/lib/python2.7/dist-packages/nose2/plugins/loader/testclasses.py",
line 119, in loadTestsFromName
result = util.test_from_name(name, module)
File "/usr/lib/python2.7/dist-packages/nose2/util.py", line 106, in
test_from_name
parent, obj = object_from_name(name, module)
File "/usr/lib/python2.7/dist-packages/nose2/util.py", line 117, in
object_from_name
module = __import__('.'.join(parts_copy))
File
"/home/slomo/Projects/gstreamer/gst-build/subprojects/gst-editing-services/tests/check/python/test_group.py",
line 182
nonlocal loaded_called
^
SyntaxError: invalid syntax
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list