-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
test_datetime
does not respect custom setUpClass
and tearDownClass
#120242
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
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Jun 7, 2024
sobolevn
added a commit
that referenced
this issue
Jun 8, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 8, 2024
…etime` (pythonGH-120243) (cherry picked from commit 95f4db8) Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 8, 2024
…etime` (pythonGH-120243) (cherry picked from commit 95f4db8) Co-authored-by: Nikita Sobolev <[email protected]>
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Example test case that can be possibly added to
test_datetime.py
:./python.exe -m test test_datetime -v -m test_example_bug
outputs:This happens because of these lines:
cpython/Lib/test/test_datetime.py
Lines 39 to 55 in e6076d1
I proposed this fix: https://github.com/python/cpython/pull/119675/files#diff-d4ea73ff6f3d1428ce4536793404e64ce7dbc1f6d0afe22f707ee0a24777afea but it was not merged.
Refs #119675
Refs #119659
Linked PRs
[setUp,tearDown]Class
intest_datetime
#120243[setUp,tearDown]Class
intest_datetime
(GH-120243) #120259[setUp,tearDown]Class
intest_datetime
(GH-120243) #120260The text was updated successfully, but these errors were encountered: