tests: Add tests for SyntaxError, TypeError, and other missing things.

This is intended to improve coverage of the test suite.
This commit is contained in:
Damien George
2015-03-25 23:10:09 +00:00
parent 44f65c0e2f
commit 214179b430
24 changed files with 296 additions and 6 deletions

View File

@@ -32,3 +32,6 @@ except ValueError:
print("Raised ValueError")
else:
print("Did not raise ValueError")
# 3rd argument to index greater than length of list
print([1, 2].index(1, 0, 4))