From 4e6d5b4378cb8e97b0808d92d85c2702232ec1d2 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Wed, 12 Jun 2024 14:58:20 -0500 Subject: [PATCH] Support Python 3.12 --- .github/workflows/ci.yml | 2 +- test_runner/blog/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f05a8d..3874031 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: name: Test strategy: matrix: - python-version: ["3.10.x", "3.11.x"] + python-version: ["3.10.x", "3.11.x", "3.12.x"] pg-version: ["14", "15"] django-version: ["4.2.x", "5.0.x"] runs-on: ubuntu-latest diff --git a/test_runner/blog/tests.py b/test_runner/blog/tests.py index 499eca4..753d8ea 100644 --- a/test_runner/blog/tests.py +++ b/test_runner/blog/tests.py @@ -204,7 +204,7 @@ def test_messaging(self): follow=True, ) - self.assertEquals(200, response.status_code) + self.assertEqual(200, response.status_code) self.assertNotContains(response, "Your new post has been created.") # disabled def test_message_tags(self):