mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #20094 -- Removed obsolete tests/utils_tests/test_itercompat.py
The is_iterator() function was removed in 2456ffa42c.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
from django.test import TestCase
|
||||
|
||||
from .models import Category, Thing
|
||||
|
||||
|
||||
class TestIsIterator(TestCase):
|
||||
def test_regression(self):
|
||||
"""This failed on Django 1.5/Py2.6 because category has a next method."""
|
||||
category = Category.objects.create(name='category')
|
||||
Thing.objects.create(category=category)
|
||||
Thing.objects.filter(category=category)
|
||||
Reference in New Issue
Block a user