Changed assert_throws to _assert_throws in canvas tests.