Update cw-2.py

Replaced `true` and `false` with their correct, capitalized Python alternatives in `Test.expect_error`!

Just tried to use that method on live and it raised an exception at me :)