Skip to content

Commit 268a1ac

Browse files
committed
Version bump v1.4.1
removing compatiblity for py3.3
1 parent 690f7f1 commit 268a1ac

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [1.4.1] - 2015-09-09
5+
### Added
6+
- Classifiers for compatible python versions
7+
### Changed
8+
- Assertion test from `self.assertEqual()` to `self.assertDictEqual()` for Python 3 compatibility
9+
410
## [1.4.0] - 2015-04-27
511
### Added
612
- Support for API keys

sendgrid/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (1, 4, 0)
1+
version_info = (1, 4, 1)
22
__version__ = '.'.join(str(v) for v in version_info)

test/__init__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import unittest
66
import json
77
import sys
8+
import collections
89
try:
910
from StringIO import StringIO
1011
except ImportError: # Python 3
@@ -18,7 +19,7 @@
1819
SG_PWD = os.getenv('SG_PWD') or 'SENDGRID_PASSWORD'
1920

2021
class TestSendGrid(unittest.TestCase):
21-
maxDiff = None
22+
2223
def setUp(self):
2324
self.sg = SendGridClient(SG_USER, SG_PWD)
2425

@@ -95,8 +96,9 @@ def test_send(self):
9596
"asm_group_id": 42
9697
}
9798
'''))
98-
self.assertDictEqual(url, test_url)
99-
99+
100+
self.assertEqual(url, test_url)
101+
100102
@unittest.skipUnless(sys.version_info < (3, 0), 'only for python2')
101103
def test__build_body_unicode(self):
102104
"""test _build_body() handles encoded unicode outside ascii range"""

0 commit comments

Comments
 (0)