Hi,
I'm in the process of packaging python-spidermonkey for
openSUSE.
We try to run the tests on every build in order to catch issues
early.
All tests succeed but this one:
[ 39s]
...........................................................................................F...............
[ 39s]
======================================================================
[ 39s] FAIL: test-syntax-error.test_invalid_octal [ 39s]
----------------------------------------------------------------------
[ 39s] Traceback (most recent call last): [ 39s] File
"/usr/lib/python2.7/site-packages/nose/case.py", line 197, in
runTest [ 39s] self.test(*self.arg) [ 39s] File
"/usr/lib/python2.7/site-packages/nose/util.py", line 613, in
newfunc [ 39s] return func(*arg, **kw) [ 39s] File
"/home/abuild/rpmbuild/BUILD/python-spidermonkey-0.0.10/tests/t.py",
line 12, in run [ 39s] func(*self.args()) [ 39s] File
"/home/abuild/rpmbuild/BUILD/python-spidermonkey-0.0.10/tests/test-syntax-error.py",
line 14, in test_invalid_octal [ 39s] t.raises(t.JSError,
cx.execute, "09;") [ 39s] File
"/home/abuild/rpmbuild/BUILD/python-spidermonkey-0.0.10/tests/t.py",
line 76, in raises [ 39s] func_name, exctype.__name__)) [ 39s]
AssertionError: Function did not raise JSError [ 39s] [ 39s] Name
Stmts Miss Cover Missing [ 39s]
------------------------------------------------ [ 39s]
encodings.utf_16 78 78 0% 9-118 [ 39s] t 58 2 97% 16, 54 [ 39s]
------------------------------------------------ [ 39s] TOTAL 136
80 41%
[ 39s]
----------------------------------------------------------------------
[ 39s] Ran 107 tests in 5.018s
Any idea, what's wrong here?