◐ Shell
clean mode source ↗

Message 158183 - Python tracker

Thanks, Serhiy.

I made one small change, using 'with self.assertEqual' in the TypeError test.  You might want to check that out, it is a useful technique.

Oh, and I removed the type check from the 2.7 patch.  You can use a unicode string as long as it doesn't contain non-ASCII (the reason we created python3!), so it would be a backward incompatible change to raise a TypeError there.