-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #169 from pinax/remove-six
Removed vestigal support for Python 2.7
- Loading branch information
Showing
7 changed files
with
10 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ | |
from django.test import TestCase | ||
from django.utils.timezone import now as datetime_now | ||
from mock import Mock, patch | ||
import six | ||
|
||
import mailer | ||
from mailer import engine | ||
|
@@ -653,7 +652,7 @@ def test_message_str(self): | |
|
||
msg = Message.objects.get() | ||
self.assertEqual( | ||
six.text_type(msg), | ||
str(msg), | ||
'On {0}, "Subject Msg 中" to [email protected]'.format(msg.when_added), | ||
) | ||
msg.message_data = None | ||
|
@@ -668,7 +667,7 @@ def test_message_log_str(self): | |
|
||
log = MessageLog.objects.get() | ||
self.assertEqual( | ||
six.text_type(log), | ||
str(log), | ||
'On {0}, "Subject Log 中" to [email protected]'.format(log.when_attempted), | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters