[issue24247] Docs: "unittest discover" modifies sys.path

Irit Katriel report at bugs.python.org
Wed Apr 28 17:40:45 EDT 2021


Irit Katriel <iritkatriel at yahoo.com> added the comment:

This is alluded to in the "caution" under https://docs.python.org/3/library/unittest.html#test-discovery

But the workaround is not explained.

----------
keywords: +easy
nosy: +iritkatriel
title: "unittest discover" modifies sys.path -> Docs: "unittest discover" modifies sys.path
type:  -> behavior
versions: +Python 3.10, Python 3.11, Python 3.8, Python 3.9 -Python 2.7

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


More information about the Python-bugs-list mailing list