summaryrefslogtreecommitdiff
path: root/test/test_except.py
blob: ad02cb69bc69f5915639791f9370dcc161fc0a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
# coding: utf-8

from nose.tools import *
from msgpack import packb, unpackb

import datetime

def test_raise_on_find_unsupported_value():
    assert_raises(TypeError, packb, datetime.datetime.now())

if __name__ == '__main__':
    from nose import main
    main()