Permalink
Browse files

remove the assertion that lists can't be passed

apparently pickle does just fine with lists.
  • Loading branch information...
1 parent fb823be commit b61f52e2d003264c8ac1ebd741109c2c57f2a75c @jneen committed Aug 21, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 test/cache_test.py
View
@@ -122,11 +122,3 @@ def expensive(*a, **kw):
assert len(keys) == 2, "only two keys are set"
assert ("mykey/args:") in keys[0]
-
- # arguments must be hashable
- try:
- expensive([1, 2, 3])
- except TypeError as e:
- assert e.message == "unhashable type: 'list'"
- else:
- assert False, "should throw TypeError"

0 comments on commit b61f52e

Please sign in to comment.