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

Run test with strict warnings

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      None

      Many features in the standard library and other third party libraries use a deprecation cycle instead of a major version to remove functionality.

      By using PYTHONWARNING=error we can be alerted to deprecation warnings and update our code proactively. We can use assertWarns in our tests to handle deprecations and other warnings.

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: