Skip to content

Commit

Permalink
Remove lines from test_clear_cache (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfollesdal authored Mar 25, 2020
1 parent d06919c commit 00b940b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,7 @@ def test_clear_cache(restore_resolvers: Any) -> None:
OmegaConf.register_resolver("random", lambda _: random.randint(0, 10000000))
c = OmegaConf.create(dict(k="${random:_}"))
old = c.k
fresh = c.__dict__
OmegaConf.clear_cache(c)
assert c.__dict__ == fresh
assert old != c.k


Expand Down

0 comments on commit 00b940b

Please sign in to comment.