pytorch
c917a247 - Improve error message for assertWarnsRegex (#33099)

Commit
5 years ago
Improve error message for assertWarnsRegex (#33099) Summary: `assertWarnsRegex` now prints out any warnings that it caught while failing to find a matching warning. This makes it easier to debug tests by just looking at the CI logs. Pull Request resolved: https://github.com/pytorch/pytorch/pull/33099 Differential Revision: D19800021 Pulled By: ezyang fbshipit-source-id: 1c31ae785c8ffc5d47619aff6597e479263be2de
Author
Parents
Loading