Avoid uuidRepresentation deprecation warning in test suite

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This deprecation warning is printed over 1500 times in our test suite. It makes it difficult to read the test output.

      /data/mci/0a7792cd4a1c1e19b871306bc9f3a3a2/src/bson/codec_options.py:344: DeprecationWarning: Starting in PyMongo 4.0, the default uuidRepresentation will be changed to 'unspecified'. Applications will need to explicitly set 'uuidRepresentation=pythonLegacy' in the connection string to preserve current behavior.
      [2020/06/03 20:21:46.743]   'type_registry', DEFAULT_CODEC_OPTIONS.type_registry))
      

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

              Created:
              Updated:
              Resolved: