[Python-Dev] New work-in-progress bisection tool for the Python test suite (in regrtest)
Nick Coghlan
ncoghlan at gmail.com
Tue Jul 4 06:52:34 EDT 2017
On 4 July 2017 at 19:55, Victor Stinner <victor.stinner at gmail.com> wrote:
> On Python 2, the addition of Lib/test/bisect.py caused conflict with
> Lib/bisect.py when running the Python test suite :-( I chose to rename
> Lib/test/bisect.py to Lib/test/bisectcmd.py to reduce changes caused
> by this new debug tool. So only in Python 2.7, you have to run:
>
> ./python -m test.bisectcmd ...
I know it's longer, but perhaps it would make sense to put the
bisection helper under "python -m test.support.bisect" in both Python
2 & 3?
Even in Python 3 "test.bisect" looks a bit like the test suite for the
bisect module to me - you have to "just know" that the latter actually
lives at "test.test_bisect".
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list