Skip to content

Commit

Permalink
Replace nose with pytest
Browse files Browse the repository at this point in the history
Attempt replacing `nose` (which has not been regularly supported for years) with `pytest` for better CI/CD experience.

Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>
  • Loading branch information
MichaelTiemannOSC committed Jul 11, 2023
1 parent af3447c commit f3cb615
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions INSTALL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,4 @@ or, if additional access rights are needed (Unix):
testing framework. This can be achieved for instance with a command
like

nosetests -sv uncertainties/

or simply

nosetests uncertainties/

(for a less verbose output).
pytest uncertainties/
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ install:
- conda init cmd.exe
- conda info -a
# Create a conda virtual environement
- "conda create -n uncty-env numpy nose python=%PYTHON_VERSION%"
- "conda create -n uncty-env numpy pytest python=%PYTHON_VERSION%"
- activate uncty-env


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@

install_requires=['future'],

tests_require=['nose', 'numpy'],
tests_require=['pytest', 'numpy'],

# Optional dependencies install using:
# `easy_install uncertainties[optional]`
Expand Down

0 comments on commit f3cb615

Please sign in to comment.