aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/tests
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2023-05-17 12:18:14 +0530
committerGravatar RohanJnr <[email protected]>2023-05-17 12:18:14 +0530
commit5c87be603527b8366affc6ea89343d82b91baf35 (patch)
tree332b3ae1748d9381ef4bdf10f3c756ac8617d1ab /pydis_site/apps/content/tests
parentsatisfy linter (diff)
parentMerge branch 'main' into subclassing_bot (diff)
Merge branch 'subclassing_bot' of github.com:Diabolical5777/site into subclassing_bot
Diffstat (limited to 'pydis_site/apps/content/tests')
-rw-r--r--pydis_site/apps/content/tests/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/content/tests/test_utils.py b/pydis_site/apps/content/tests/test_utils.py
index 462818b5..7f7736f9 100644
--- a/pydis_site/apps/content/tests/test_utils.py
+++ b/pydis_site/apps/content/tests/test_utils.py
@@ -17,7 +17,7 @@ from pydis_site.apps.content.tests.helpers import (
BASE_PATH, MockPagesTestCase, PARSED_CATEGORY_INFO, PARSED_HTML, PARSED_METADATA
)
-_time = datetime.datetime(2022, 10, 10, 10, 10, 10, tzinfo=datetime.timezone.utc)
+_time = datetime.datetime(2022, 10, 10, 10, 10, 10, tzinfo=datetime.UTC)
_time_str = _time.strftime(settings.GITHUB_TIMESTAMP_FORMAT)
TEST_COMMIT_KWARGS = {
"sha": "123",