-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace asserts with torch.testing asserts in test_linear_bandits.py
Summary: Regular asserts don't print an informative message when they fail. Replacing with `torch.testing` asserts, which print out useful information for debugging Differential Revision: D56588249
- Loading branch information
1 parent
e38f01b
commit 316e9e4
Showing
1 changed file
with
18 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters