Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Description
Implement AssertRaisesRegex for Python 2.7 and only try AssertRegexpMatches if the method is missing rather than if the original call fails, otherwise we will get a confusing error message on Python 3 when the assertion fails.
Attachments
For Gerrit Dashboard: PYCBC-544 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
101851,16 | PYCBC-544: Handle regex assert compatibility properly | master | couchbase-python-client | Status: MERGED | +2 | +1 |