Update cw-2.py

Replaced `true` and `false` with their correct, capitalized Python alternatives in `Test.expect_error`!