summaryrefslogtreecommitdiff
path: root/test/test_format.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_format.py')
-rw-r--r--test/test_format.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/test_format.py b/test/test_format.py
index ac08709..5fec0c3 100644
--- a/test/test_format.py
+++ b/test/test_format.py
@@ -1,12 +1,10 @@
#!/usr/bin/env python
# coding: utf-8
-from nose import main
-from nose.tools import *
from msgpack import unpackb
def check(src, should, use_list=0):
- assert_equal(unpackb(src, use_list=use_list), should)
+ assert unpackb(src, use_list=use_list) == should
def testSimpleValue():
check(b"\x93\xc0\xc2\xc3",
@@ -70,6 +68,3 @@ def testMap():
b"\xdf\x00\x00\x00\x02\xc0\xc2\xc3\xc2",
({}, {None: False}, {True: False, None: False}, {},
{None: False}, {True: False, None: False}))
-
-if __name__ == '__main__':
- main()