Skip to content

Commit

Permalink
Test to see if DeepCode is happier
Browse files Browse the repository at this point in the history
  • Loading branch information
odelalleau committed Feb 9, 2021
1 parent 4ea6d83 commit 51c201f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def test_resolver_cache_1(restore_resolvers: Any) -> None:
# the program execution.
OmegaConf.new_register_resolver("random", lambda _: random.randint(0, 10000000))
c = OmegaConf.create({"k": "${random:__}"})
assert c.k == c.k
assert getattr(c, "k") == getattr(c, "k")


def test_resolver_cache_1_legacy(restore_resolvers: Any) -> None:
Expand Down

0 comments on commit 51c201f

Please sign in to comment.