Skip to content

Commit

Permalink
SimpleCache doesn't guarantee what it destroys
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Jan 25, 2015
1 parent 4e2c674 commit bc0e006
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/contrib/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,7 @@ def test_purge(self):
c.set('b', 'b')
c.set('c', 'c')
c.set('d', 'd')
assert not c.get('a')
assert not c.get('b')

assert len(c._cache) == 2


class TestSimpleCache(CacheTests):
Expand Down

0 comments on commit bc0e006

Please sign in to comment.