[PATCH] D56251: python compat - assertraisesregex
Michael Platings via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 3 05:06:50 PST 2019
michaelplatings requested changes to this revision.
michaelplatings added inline comments.
This revision now requires changes to proceed.
================
Comment at: bindings/python/llvm/tests/base.py:21
+ if sys.version_info.major == 2:
+ assertRaisesRegex = TestBase.assertRaisesRegexp
+
----------------
I think this should be:
assertRaisesRegex = unittest.TestCase.assertRaisesRegexp
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56251/new/
https://reviews.llvm.org/D56251
More information about the llvm-commits
mailing list