Change by Bader Zaidan :
--
versions: +Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue46421>
___
___
Python-bugs-list mailing list
Unsub
Change by Bader Zaidan :
--
keywords: +patch
pull_requests: +28855
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30654
___
Python tracker
<https://bugs.python.org/issu
Bader Zaidan added the comment:
For reference, this is the error request:
```
python3 -m unittest ./tests/*.py
Traceback (most recent call last):
File "/usr/lib64/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File &
New submission from Bader Zaidan :
When running a local unittest as a module (for example, `python -m unittest
./tests/*.py`), the command fails with a ValueError. However, if we remove the
local directory definition, and call it as `python -m unittest tests/*.py`, it
runs without issue