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

Doctest uuidRepresentation failure in FAQ page

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.11
    • Affects Version/s: None
    • Component/s: None
    • None

      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))
      

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

              Created:
              Updated:
              Resolved: