Switch to pytest as the test runner.

Review Request #12487 — Created July 25, 2022 and submitted

Information

beanbag-docutils
master

Reviewers

This updates the codebase to use pytest instead of nose for running
unit tests. This helps us with testing on newer versions of Python, and
is consistent with our other codebases.

The old tests/runtests.py script will now wrap pytest.

Ran unit tests on all supported versions of Python.

Summary ID
Switch to pytest as the test runner.
This updates the codebase to use `pytest` instead of `nose` for running unit tests. This helps us with testing on newer versions of Python, and is consistent with our other codebases. The old `tests/runtests.py` script will now wrap `pytest`.
99b9714e12ac1ebc9982a9f0e4e38bf385526220
Description From Last Updated

Do we not want to have a runtests.py file that just invokes pytest?

daviddavid

It looks like tests/runtests.py is still deleted? There's no difference between diffs 1 and 2.

maubinmaubin
david
  1. 
      
  2. Show all issues

    Do we not want to have a runtests.py file that just invokes pytest?

  3. 
      
chipx86
maubin
  1. 
      
  2. Show all issues

    It looks like tests/runtests.py is still deleted? There's no difference between diffs 1 and 2.

    1. Yyyyep. Oops. Fixing.

  3. 
      
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (7927ed8)