summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2017-01-12 18:17:00 +0900
committerINADA Naoki <songofacandy@gmail.com>2017-01-12 18:17:00 +0900
commit2481c64cf162d765bfb84bf8e85f0e9861059cbc (patch)
tree3ff38e7c3d23bdfa02fb566d58fc466a6d5f0828 /test
parent1cc3c574a20be224411a5a76a5863c9fa7a0381a (diff)
parente3fea94509767047a8ff45aa07cd58a9ba9694e7 (diff)
downloadmsgpack-python-2481c64cf162d765bfb84bf8e85f0e9861059cbc.tar.gz
Merge branch 'release-0.4'
Diffstat (limited to 'test')
-rw-r--r--test/test_extension.py2
-rw-r--r--test/test_pack.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_extension.py b/test/test_extension.py
index c552498..d05d7ab 100644
--- a/test/test_extension.py
+++ b/test/test_extension.py
@@ -42,7 +42,7 @@ def test_extension_type():
typecode = 123 # application specific typecode
data = obj.tostring()
return ExtType(typecode, data)
- raise TypeError("Unknwon type object %r" % (obj,))
+ raise TypeError("Unknown type object %r" % (obj,))
def ext_hook(code, data):
print('ext_hook called', code, data)
diff --git a/test/test_pack.py b/test/test_pack.py
index 762ccf5..e945902 100644
--- a/test/test_pack.py
+++ b/test/test_pack.py
@@ -130,7 +130,7 @@ def testMapSize(sizes=[0, 5, 50, 1000]):
class odict(dict):
- '''Reimplement OrderedDict to run test on Python 2.6'''
+ """Reimplement OrderedDict to run test on Python 2.6"""
def __init__(self, seq):
self._seq = seq
dict.__init__(self, seq)