This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients eric.araujo, ronaldoussoren
Date 2012-04-06.10:22:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333707730.38.0.628831175594.issue14516@psf.upfronthosting.co.za>
In-reply-to
Content
When I run "make tests" I get (amongst others) the following test failure:

======================================================================
FAIL: test_noargs (test.test_tools.ReindentTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ronald/Projects/python/rw/default/Lib/test/test_tools.py", line 30, in test_noargs
    assert_python_ok(self.script)
  File "/Users/ronald/Projects/python/rw/default/Lib/test/script_helper.py", line 53, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
  File "/Users/ronald/Projects/python/rw/default/Lib/test/script_helper.py", line 45, in _assert_python
    "stderr follows:\n%s" % (rc, err.decode('ascii', 'ignore')))
AssertionError: Process return code is 2, stderr follows:
/Users/ronald/Projects/python/rw/default/build/python.exe: can't open file '/Users/ronald/Projects/python/rw/default/build/Tools/scripts/reindent.py': [Errno 2] No such file or directory


This is because the script is actually "/Users/ronald/Projects/python/rw/default/Tools/scripts/reindent.py".

The attached patch fixes the issue.

(assigned to eric because he introduced these tests, unless there are objections I'll commit during the weekend)
History
Date User Action Args
2012-04-06 10:22:10ronaldoussorensetrecipients: + ronaldoussoren, eric.araujo
2012-04-06 10:22:10ronaldoussorensetmessageid: <1333707730.38.0.628831175594.issue14516@psf.upfronthosting.co.za>
2012-04-06 10:22:09ronaldoussorenlinkissue14516 messages
2012-04-06 10:22:09ronaldoussorencreate