Switch to pytest as the test runner.

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

chipx86
beanbag-docutils
master
beanbag-misc

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
Switch to pytest as the test runner.
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. Do we not want to have a runtests.py file that just invokes pytest?

  3. 
      
chipx86
maubin
  1. 
      
  2. 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: Closed (submitted)

Change Summary:

Pushed to master (7927ed8)
Loading...