branch | stable |
changeset 20109 | e57c532c3835 |
parent 16620 | e22d6b1dec1d |
child 20155 | 21dafd8546d1 |
--- a/tests/test-parseindex2.py Wed Nov 06 19:01:14 2013 -0600 +++ b/tests/test-parseindex2.py Tue Nov 26 16:14:22 2013 -0800 @@ -98,6 +98,14 @@ return list(index), chunkcache def runtest() : + # Check that parse_index2() raises TypeError on bad arguments. + try: + parse_index2(0, True) + except TypeError: + pass + else: + print "Expected to get TypeError." + py_res_1 = py_parseindex(data_inlined, True) c_res_1 = parse_index2(data_inlined, True)