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

Doctests fail on unexpected TypeRegistry in repr

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.8
    • Affects Version/s: None
    • Component/s: Docs, Tests
    • None

       [2019/03/12 17:53:46.652] **********************************************************************
       [2019/03/12 17:53:46.652] File "faq.rst", line 243, in key-order
       [2019/03/12 17:53:46.652] Failed example:
       [2019/03/12 17:53:46.652]     opts
       [2019/03/12 17:53:46.652] Expected:
       [2019/03/12 17:53:46.652]     CodecOptions(document_class=<class 'bson.son.SON'>,
       [2019/03/12 17:53:46.652]                  tz_aware=False,
       [2019/03/12 17:53:46.652]                  uuid_representation=PYTHON_LEGACY,
       [2019/03/12 17:53:46.652]                  unicode_decode_error_handler='strict',
       [2019/03/12 17:53:46.652]                  tzinfo=None)
       [2019/03/12 17:53:46.652] Got:
       [2019/03/12 17:53:46.652]     CodecOptions(document_class=<class 'bson.son.SON'>, tz_aware=False, uuid_representation=PYTHON_LEGACY, unicode_decode_error_handler='strict', tzinfo=None, type_registry=TypeRegistry())
      

            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: