diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 643759625..25bc2d26a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.31.0 + rev: v2.32.0 hooks: - id: pyupgrade args: ["--py37-plus"] diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 4b75d5f57..f8e0caaac 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -2,6 +2,7 @@ import json import re import unittest +from urllib.parse import unquote from django.contrib import admin from django.contrib.auth import get_permission_codename @@ -9,7 +10,6 @@ from django.template import RequestContext from django.utils.encoding import force_str from django.utils.html import escape -from urllib.parse import unquote from django.utils.http import urlencode from cms.api import add_plugin, create_page, create_title