def test_regression(self):
        category = Category.objects.create(name='category')
        Thing.objects.create(category=category)
        Thing.objects.filter(category=category)
This failed on Django 1.5/Py2.6 because category has a next method.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/utils_tests/test_itercompat.py/TestIsIterator.test_regression