A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-February/013291.html below:

[Python-Dev] test_inspect.py still fails under -O

[Python-Dev] test_inspect.py still fails under -OTim Peters tim.one@home.com
Wed, 28 Feb 2001 17:12:47 -0500
> python  -O ../lib/test/test_inspect.py
Traceback (most recent call last):
  File "../lib/test/test_inspect.py", line 172, in ?
    'trace() row 1')
  File "../lib/test/test_inspect.py", line 70, in test
    raise TestFailed, message % args
test_support.TestFailed: trace() row 1

>

git.tr[0][1:] is

    ('@test', 8, 'spam',
     ['def spam(a, b, c, d=3, (e, (f,))=(4, (5,)), *g, **h):\n'],
     0)

at this point.  The test expects it to be

    ('@test', 9, 'spam',
     ['    eggs(b + d, c + f)\n'],
     0)

Test passes without -O.

This was on Windows.  Other platforms?




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4