From 04831809d393514e4df7a3cba37a40f1755b8850 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 24 Jul 2019 14:27:12 +0200 Subject: [PATCH] ugettext -> gettext --- tests/schemas/test_openapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/schemas/test_openapi.py b/tests/schemas/test_openapi.py index 2bf305d99..b5727400b 100644 --- a/tests/schemas/test_openapi.py +++ b/tests/schemas/test_openapi.py @@ -1,7 +1,7 @@ import pytest from django.conf.urls import url from django.test import RequestFactory, TestCase, override_settings -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from rest_framework import filters, generics, pagination, routers, serializers from rest_framework.compat import uritemplate