Skip to content

Commit

Permalink
test,fix: use is instead of == for type comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Jul 31, 2023
1 parent c1541a0 commit 49293b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/cache_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def test_multi_level_cache():
assert l2 == {"key1": 1}

cache2 = solara.cache.create("memory,disk")
assert type(cache) == type(cache2)
assert type(cache) is type(cache2)


def test_memoize_hook():
Expand Down

0 comments on commit 49293b7

Please sign in to comment.