fix the github tests for python2.6

That assertIsNone method simply didn't exist.

My replacement is equivalent or better, especially since it actually runs without crashing.