Fix and add support for Python 3.12.

Review Request #13094 — Created June 2, 2023 and submitted

Information

DiffX
pydiffx/release-1.x

Reviewers

This updates unit tests for pydiffx to run on Python 3.12. The legacy
TestCase.assertRaisesRegexp has been removed in 3.12, replaced by
assertRaisesRegex. Our TestCase class now optimistically uses the
new version, and patches the old one in on Python 2.7.

Unit tests pass on all supported versions of Python.

Summary ID
Fix and add support for Python 3.12.
This updates unit tests for pydiffx to run on Python 3.12. The legacy `TestCase.assertRaisesRegexp` has been removed in 3.12, replaced by `assertRaisesRegex`. Our `TestCase` class now optimistically uses the new version, and patches the old one in on Python 2.7.
aa5d59fcde9f5b65b9f77e3ff7c903be9b71cbc0
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to pydiffx/release-1.x (e40ca07)
Loading...