-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
enum
doctests are silently skipped when run with libregrtest
#111181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
enum
doctests are siltently skipped when runner with libregrtestenum
doctests are siltently skipped when run with libregrtest
enum
doctests are siltently skipped when run with libregrtestenum
doctests are silently skipped when run with libregrtest
ethanfurman
added a commit
that referenced
this issue
Oct 30, 2023
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 30, 2023
(cherry picked from commit c4dc5a6) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
ethanfurman
added a commit
that referenced
this issue
Oct 31, 2023
ethanfurman
added a commit
to ethanfurman/cpython
that referenced
this issue
Nov 1, 2023
Co-authored-by: Ethan Furman <ethan@stoneleaf.us> (cherry picked from commit c4dc5a6)
FullteaR
pushed a commit
to FullteaR/cpython
that referenced
this issue
Nov 3, 2023
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
ethanfurman
added a commit
that referenced
this issue
Nov 3, 2023
Thanks for the PRs! |
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug report
test_enum
has these lines:cpython/Lib/test/test_enum.py
Lines 27 to 39 in 663cf51
They are problematic, because they are not executed when run as
./python.exe -m test test_enum
.Only when run with
./python.exe Lib/test/test_enum.py
Difference (on
main
branch):and:
Why? Because of
cpython/Lib/test/test_enum.py
Line 29 in 663cf51
-m test
, here whatos.getcwd()
shows for-m test
:.../cpython/build/test_python_worker_45291æ
But, with
./python.exe Lib/test/test_enum.py
it is:/Users/sobolev/Desktop/cpython
I've made a PR #111180 with fixes that will satisfy doctest, but I am not sure they are correct.
CC @ethanfurman
Linked PRs
The text was updated successfully, but these errors were encountered: