[New-bugs-announce] [issue31342] test.bisect module causes tests to fail

Neil Schemenauer report at bugs.python.org
Mon Sep 4 17:48:37 EDT 2017

New submission from Neil Schemenauer:

After a lot of head scratching, I have discovered why tests are failing for me.  E.g. "./python Lib/test/test_datetime.py" results in

AttributeError: module 'bisect' has no attribute 'bisect_right'

Running tests this way causes test/bisect to be imported rather than the std library bisect module.  I'm not sure of the correct fix, perhaps rename test.bisect?

Patch that added it: bpo-29512: Add test.bisect, bisect failing tests

assignee: haypo
messages: 301271
nosy: haypo, nascheme
priority: normal
severity: normal
stage: needs patch
status: open
title: test.bisect module causes tests to fail
type: behavior

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list