Fix unit tests on Python 3.11.

Review Request #12535 — Created Aug. 15, 2022 and submitted

chipx86
beanbag-docutils
master
beanbag-misc

The sphinx-testing module used for unit tests has a compatibility
issue in Python 3.11. Its path.read_text() method tries to open a file
with mode='U', which was deprecated and is no longer supported.

This isn't a big problem for us. We now just open the file ourselves,
fixing compatibility in our test suite.

All unit tests pass on Python 3.6 through 3.11.

Summary
Fix unit tests on Python 3.11.
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (d71c752)
Loading...