mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed incorrect docstring in cache tests (take two)
3e25c8ac69 was an incomplete
merge of the pull request.
Thanks to @ramast for catching this.
This commit is contained in:
2
tests/cache/tests.py
vendored
2
tests/cache/tests.py
vendored
@@ -496,7 +496,7 @@ class BaseCacheTests(object):
|
||||
|
||||
def test_zero_timeout(self):
|
||||
'''
|
||||
Passing in zero into timeout results in a value that is cached forever
|
||||
Passing in zero into timeout results in a value that is not cached
|
||||
'''
|
||||
cache.set('key1', 'eggs', 0)
|
||||
self.assertEqual(cache.get('key1'), None)
|
||||
|
||||
Reference in New Issue
Block a user