Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-544

Handle regex assert compatibility properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5.2
    • 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

        Activity

          People

            Ellis.Breen Ellis Breen
            Ellis.Breen Ellis Breen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty