Skip to content

Commit

Permalink
Make test more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzo committed Apr 22, 2021
1 parent 3676b31 commit 5dfee9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/optim/test_optim.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,5 @@ def optim_config(param_name):
param_names.clear()
pyro.clear_param_store()

print(expected_param_names)
print(actual_param_names)
assert actual_param_names == {"scale", "loc.weight", "loc.bias"}
assert actual_param_names == expected_param_names

0 comments on commit 5dfee9e

Please sign in to comment.