Brandon Milam added the comment:
This is my first attempt at working with the test suite but I believe this is what you were asking for. Due to this being my first attempt at writing tests I have included it as a separate patch file. Any further changes just let me know.
---------- Added file: http://bugs.python.org/file39732/skipinitialspace_test.patch