Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

test_invalid_octal fails

#39

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?

Reported by Hans-Peter Jansen · August 15th, 2013 @ 04:41 PM

State: new
Milestone: none
Assigned to: Paul J. Davis Paul J. Davis

Activity

  1. Paul J. Davis
    Paul J. Davis

    What version of SpiderMonkey are you using? If you have an interpreter built you can try the test which is just:

    09;
    

    Which should throw an error. If not then we'll need to adjust the test.

    August 17th, 2013 @ 01:26 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.