mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +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:
parent
5d568bcfa6
commit
5a5815d373
1 changed files with 1 additions and 1 deletions
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue