Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.6.x] Fixed bad backport in last commit; refs #21118

  • Loading branch information...
commit dbad65ded76d571937ce276e15cad2e19e9989fb 1 parent 14e139e
@timgraham timgraham authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 tests/utils_tests/test_simplelazyobject.py
View
9 tests/utils_tests/test_simplelazyobject.py
@@ -164,15 +164,6 @@ def test_not_equal(self):
self.assertTrue(lazy1 != lazy3)
self.assertFalse(lazy1 != lazy2)
- def test_list_set(self):
- lazy_list = SimpleLazyObject(lambda: [1, 2, 3, 4, 5])
- lazy_set = SimpleLazyObject(lambda: set([1, 2, 3, 4]))
- self.assertTrue(1 in lazy_list)
- self.assertTrue(1 in lazy_set)
- self.assertFalse(6 in lazy_list)
- self.assertFalse(6 in lazy_set)
- self.assertEqual(len(lazy_list), 5)
- self.assertEqual(len(lazy_set), 4)
class TestUtilsSimpleLazyObjectDjangoTestCase(DjangoTestCase):
Please sign in to comment.
Something went wrong with that request. Please try again.