Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2292

Doctest uuidRepresentation failure in FAQ page

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11
    • Component/s: None
    • Labels:
      None

      Description

      Doctest failure caused by PYTHON-2152:

      [2020/06/12 03:02:53.647] Document: faq
      [2020/06/12 03:02:53.647] -------------
      [2020/06/12 03:02:53.647] **********************************************************************
      [2020/06/12 03:02:53.647] File "faq.rst", line 234, in key-order
      [2020/06/12 03:02:53.647] Failed example:
      [2020/06/12 03:02:53.647]     opts
      [2020/06/12 03:02:53.647] Expected:
      [2020/06/12 03:02:53.647]     CodecOptions(document_class=<class 'bson.son.SON'>,
      [2020/06/12 03:02:53.647]                  tz_aware=False,
      [2020/06/12 03:02:53.647]                  uuid_representation=PYTHON_LEGACY,
      [2020/06/12 03:02:53.647]                  unicode_decode_error_handler='strict',
      [2020/06/12 03:02:53.647]                  tzinfo=None, type_registry=TypeRegistry(type_codecs=[],
      [2020/06/12 03:02:53.647]                                                          fallback_encoder=None))
      [2020/06/12 03:02:53.647] Got:
      [2020/06/12 03:02:53.647]     CodecOptions(document_class=<class 'bson.son.SON'>, tz_aware=False, uuid_representation=UuidRepresentation.PYTHON_LEGACY, unicode_decode_error_handler='strict', tzinfo=None, type_registry=TypeRegistry(type_codecs=[], fallback_encoder=None))
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prashant.mital Prashant Mital (Inactive)
              Reporter:
              shane.harvey Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: