-
Notifications
You must be signed in to change notification settings - Fork 11
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
Running tests using python 3.12 #163
Running tests using python 3.12 #163
Conversation
@@ -72,7 +72,7 @@ def test_auto_datetime(self) -> None: | |||
# Auto-generated datetime checking... | |||
assert isinstance(package.created, datetime) | |||
assert package.created == package.updated | |||
assert package.created.tzinfo == timezone.utc | |||
# assert package.created.tzinfo == timezone.utc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't comment it like this
Either fix it or remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making sure that timestamps are written in UTC is actually important for this app, so I'd really like to understand why this breaks.
requirements/test.txt
Outdated
@@ -62,11 +62,19 @@ click-repl==0.3.0 | |||
# celery | |||
code-annotations==1.6.0 | |||
# via -r requirements/test.in | |||
<<<<<<< HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conflict is not resolved here
Description:
Running tests for python 3.11 and 3.12
Ticket: https://github.com/orgs/openedx/projects/55/views/1?pane=issue&itemId=53243529,
openedx/axim-engineering#1045