[issue25800] errors running test_capi from command line

2015-12-04 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the report! -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25800] errors running test_capi from command line

2015-12-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset fae5186562d0 by Zachary Ware in branch '3.4': Issue #25800: Fix running test_capi directly https://hg.python.org/cpython/rev/fae5186562d0 New changeset de4108db61f7 by Zachary Ware in branch '3.5': Issue #25800: Merge with 3.4 https://hg.python.org/

[issue25800] errors running test_capi from command line

2015-12-04 Thread Zachary Ware
Changes by Zachary Ware : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue25800] errors running test_capi from command line

2015-12-04 Thread Martin Panter
Martin Panter added the comment: The code looks like it is trying to find the root of the source code tree, and then chdir() to it and access /Programs/_testembed etc. In your case the chain of dirname() calls returns an empty string because that root is already the current directory. I would

[issue25800] errors running test_capi from command line

2015-12-04 Thread SilentGhost
New submission from SilentGhost: Running: ./python Lib/test/test_capi.py I got EmbeddingTests erroring out in setUp: first line of which (a triple application of os.path.dirname) creates an empty string which cannot be used as an argument to os.chdir afterwards. I'm to be honest not at all su