[issue46421] unittest ValueError when invoking as module

2022-03-17 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue46421] unittest ValueError when invoking as module

2022-03-17 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 1cab44d8650ae3eece90b04fca373908205e7ee0 by Miss Islington (bot) in branch '3.9': [3.9] bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654) (GH-31970) https://github.com/python/cpython/commit/1cab44d8650ae3eece90b04fc

[issue46421] unittest ValueError when invoking as module

2022-03-17 Thread miss-islington
miss-islington added the comment: New changeset 0b5f99ad1af0892a2d6043abd8aeb10d685d3844 by Miss Islington (bot) in branch '3.10': bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654) https://github.com/python/cpython/commit/0b5f99ad1af0892a2d6043abd8aeb10d685d3844

[issue46421] unittest ValueError when invoking as module

2022-03-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +30060 pull_request: https://github.com/python/cpython/pull/31970 ___ Python tracker ___ __

[issue46421] unittest ValueError when invoking as module

2022-03-17 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +30059 pull_request: https://github.com/python/cpython/pull/31969 ___ Python tracker _

[issue46421] unittest ValueError when invoking as module

2022-03-17 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset a0db11b10fca0fee6bb2b8d6277e266bad8c0fdb by Bader Zaidan in branch 'main': bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654) https://github.com/python/cpython/commit/a0db11b10fca0fee6bb2b8d6277e266bad8c0fdb ---

[issue46421] unittest ValueError when invoking as module

2022-01-22 Thread Bader Zaidan
Change by Bader Zaidan : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46421] unittest ValueError when invoking as module

2022-01-22 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303, serhiy.storchaka type: -> behavior versions: +Python 3.11, Python 3.9 ___ Python tracker ___ ___

[issue46421] unittest ValueError when invoking as module

2022-01-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ezio.melotti, michael.foord, rbcollins ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46421] unittest ValueError when invoking as module

2022-01-17 Thread Bader Zaidan
Change by Bader Zaidan : -- keywords: +patch pull_requests: +28855 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30654 ___ Python tracker ___ ___

[issue46421] unittest ValueError when invoking as module

2022-01-17 Thread Bader Zaidan
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 "/usr/lib64/python3.1

[issue46421] unittest ValueError when invoking as module

2022-01-17 Thread Bader Zaidan
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. A G