mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
Modernize syntax, drop Python<3, drop Django<1.11
This commit is contained in:
parent
d114008645
commit
84c99afa03
42 changed files with 176 additions and 330 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import os
|
||||
import uuid
|
||||
|
||||
from six.moves.urllib import parse
|
||||
from urllib import parse
|
||||
|
||||
from django.core.mail import EmailMultiAlternatives
|
||||
|
||||
|
|
@ -14,7 +13,7 @@ __all__ = ['TestImap']
|
|||
|
||||
class TestImap(EmailMessageTestCase):
|
||||
def setUp(self):
|
||||
super(TestImap, self).setUp()
|
||||
super().setUp()
|
||||
|
||||
self.test_imap_server = (
|
||||
os.environ.get('EMAIL_IMAP_SERVER')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue