def test_type_match_good(self): s = c_spec.list_converter() assert_(s.type_match([]))
def test_type_match_bad(self): s = c_spec.list_converter() objs = [{},(),'',1,1.,1+1j] for i in objs: assert_( not s.type_match(i) )
def test_type_match_bad(self): s = c_spec.list_converter() objs = [{}, (), '', 1, 1., 1 + 1j] for i in objs: assert_(not s.type_match(i))