[extensions-web/backports: 5/6] Drop six




commit 072b23aad39eeb0b6a22456309a69591c6ee25f1
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sat Mar 13 21:12:45 2021 +0400

    Drop six

 requirements.txt         | 4 ----
 sweettooth/auth/tests.py | 4 +---
 2 files changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/requirements.txt b/requirements.txt
index 966edb3..ddced17 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -41,7 +41,3 @@ sqlparse==0.4.2 \
 confusable_homoglyphs==3.2.0 \
     --hash=sha256:3b4a0d9fa510669498820c91a0bfc0c327568cecec90648cf3819d4a6fc6a751 \
     --hash=sha256:e3ce611028d882b74a5faa69e3cbb5bd4dcd9f69936da6e73d33eda42c917944
-# django-contrib-comments dependency
-six==1.16.0 \
-    --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \
-    --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254
diff --git a/sweettooth/auth/tests.py b/sweettooth/auth/tests.py
index d22e106..e8b48fb 100644
--- a/sweettooth/auth/tests.py
+++ b/sweettooth/auth/tests.py
@@ -8,8 +8,6 @@
     (at your option) any later version.
 """
 
-from six import text_type
-
 from django_registration import validators
 
 from django.contrib.auth import get_user_model
@@ -50,7 +48,7 @@ class AuthTests(RegistrationDataTest):
         self.assertFalse(form.is_valid())
         self.assertEqual(
             form.errors['email'],
-            [text_type(validators.DUPLICATE_EMAIL)]
+            [str(validators.DUPLICATE_EMAIL)]
         )
 
         form = AutoFocusRegistrationForm(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]