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.
Created on 2012年04月06日 10:22 by ronaldoussoren, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| test_tools.patch | ronaldoussoren, 2012年04月06日 10:22 | review | ||
| Messages (8) | |||
|---|---|---|---|
| msg157655 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2012年04月06日 10:22 | |
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) |
|||
| msg157667 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年04月06日 15:02 | |
Thanks for catching this. The definition of projectbase and srcdir is not clear to me, I always have to use trial and error to find the right one in my tests. The patch must be applied to all three branches; let me know if I should do it. |
|||
| msg157696 - (view) | Author: Roumen Petrov (rpetrov) * | Date: 2012年04月06日 21:45 | |
another one is in Lib/packaging/tests/support.py - should be from same commit |
|||
| msg178466 - (view) | Author: Ned Deily (ned.deily) * (Python committer) | Date: 2012年12月29日 02:55 | |
Looks like this issue was addressed with 6d0c54b99ca9 (2.7), 5493299df0a0 (3.2) and c23b442b5d5e (default). Close? |
|||
| msg178624 - (view) | Author: Roumen Petrov (rpetrov) * | Date: 2012年12月30日 22:43 | |
No - it is broken. |
|||
| msg178650 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2012年12月31日 07:59 | |
Test_tools passes for me with the tip of the default branch and BUILDDIR!=SRCDIR. I'm currently running a 2.7 test run, but AFAIK this issue is fixed. |
|||
| msg178652 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2012年12月31日 08:21 | |
2.7 works as well. Roumen: what doesn't work and how can we reproduce that? |
|||
| msg181667 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2013年02月08日 11:42 | |
I've closed the issue because I can no longer reproduce the issue, the changesets mentioned by Ned have fixed the problem. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:28 | admin | set | github: 58721 |
| 2013年02月08日 11:42:34 | ronaldoussoren | set | status: pending -> closed messages: + msg181667 |
| 2012年12月31日 08:21:26 | ronaldoussoren | set | status: open -> pending resolution: fixed messages: + msg178652 stage: needs patch -> resolved |
| 2012年12月31日 07:59:51 | ronaldoussoren | set | messages: + msg178650 |
| 2012年12月30日 22:43:33 | rpetrov | set | messages: + msg178624 |
| 2012年12月29日 02:55:26 | ned.deily | set | nosy:
+ ned.deily messages: + msg178466 |
| 2012年04月06日 21:45:49 | rpetrov | set | nosy:
+ rpetrov messages: + msg157696 |
| 2012年04月06日 15:02:10 | eric.araujo | set | messages:
+ msg157667 versions: + Python 2.7, Python 3.2 |
| 2012年04月06日 10:22:09 | ronaldoussoren | create | |