Commit 9390852
authored
Fix a warning in modern unittest. (#773)
Newer versions of unittest no longer store an errors
list; instead, they store a result, which then stores
an error list. Update the code here to be able to deal
with either version.
Signed-off-by: Chris Lalancette <[email protected]>1 parent 72ffcb5 commit 9390852
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| |||
0 commit comments