Django 1.6 still supports Python 2.6.
Fix a few tests that broke after 982f341.