Fix using deprecated api in tests.

This commit is contained in:
INADA Naoki 2012-07-04 14:58:36 +09:00
parent 4bff55db9f
commit 2122b46b84
5 changed files with 29 additions and 29 deletions

View file

@ -2,12 +2,12 @@
# coding: utf-8
from nose.tools import *
from msgpack import packs, unpacks
from msgpack import packb, unpackb
import datetime
def test_raise_on_find_unsupported_value():
assert_raises(TypeError, packs, datetime.datetime.now())
assert_raises(TypeError, packb, datetime.datetime.now())
if __name__ == '__main__':
from nose import main