[issue35519] [2.7] Can not run test without test module for tests which import random module

STINNER Victor report at bugs.python.org
Mon Dec 17 06:39:40 EST 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Your problem is that you have the Lib/test/bisect.py file. I renamed it to Lib/test/bisect_cmd.py.

Workarounds:

* Run the test using: ./python -m test test_xmlrpc
* Rename Lib/test/bisect.py to Lib/test/bisect_cmd.py

This bug is already fixed in the 2.7. You have to wait for the next 2.7 release to get the fix.

----------
nosy: +vstinner
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
title: Can not run test without test module for tests which import random module -> [2.7] Can not run test without test module for tests which import random module
versions: +Python 2.7 -Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35519>
_______________________________________


More information about the Python-bugs-list mailing list