Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGraham Mackenzie
2,747 PointsJust in case your test had unexpected failures! Read this... [SOLUTION]
This is a note for students who might have the same experience as me:
If your get_moves() test had unexpected failures, where Got: seems to be exactly the same as Expected:, make sure you have properly cleaned up all the whitespace around the doctest after copying and pasting from the shell. Even a single extra spacebar space will cause the test to fail.
Cheers! Graham
Alexander Kallaway (Emelianov)
10,307 PointsThank you Graham, that helped!
Graham Mackenzie
2,747 PointsThanks, rydavim!
Awesome, Alexander Kallaway (Emelianov)! Glad it helped.
Emeka Okoro
Courses Plus Student 11,724 PointsGraham Mackenzie ..And even over a year later, this helped. Thanks bud!
V K
5,237 PointsThanks so much for this!
Marek Zakrzewski
2,920 PointsThanks a lot!
rydavim
18,814 Pointsrydavim
18,814 PointsI've added a solution tag to your post. White space is certainly very important in Python. Happy coding!