Commit d409c11
test: Updated asserts in test_onnx (pytorch#1497)
* test: Updated asserts in test_onnx
Updated all raw asserts to corresponding unittest.TestCase.assert. See pytorch#1483
* test: Refactored AssertionError
Opted for cleaner raise to avoid error type casting and string conversion1 parent 355e9d2 commit d409c11
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments