exercism/xpython — pull request #128 by dbernard (2014-10-10 21:44:30+00:00)
Title: Update bob tests to handle input ending in whitespace

While nit-picking, I noticed a lot of users were failing to acknowledge the case where valid input ends with whitespace. Stripping at the wrong time would result in bob responding to a valid question (for example) with "Whatever."

This PR adds a test for this scenario. The ```example.py``` file was also incorrectly handling this type of input, so I have corrected that file as well.

As a small note, the first commit in this PR fixes a minor formatting mistake (whitespace trailing a function).