Skip to content

Commit

Permalink
Move tests to tests folder (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgsavage committed Apr 5, 2024
1 parent 57e2a20 commit ea1d664
Show file tree
Hide file tree
Showing 7 changed files with 442 additions and 494 deletions.
11 changes: 2 additions & 9 deletions INSTALL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,7 @@ or, if additional access rights are needed (Unix):

sudo python setup.py install

* The tests programs (test_*.py) are meant to be run through the Nose
testing framework. This can be achieved for instance with a command
* The tests programs (test_*.py) are meant to be run through pytest. This can be achieved for instance with a command
like

nosetests -sv uncertainties/

or simply

nosetests uncertainties/

(for a less verbose output).
pytest ./tests
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ Changelog = "https://github.com/lmfit/uncertainties/blob/master/CHANGES.rst"

[project.optional-dependencies]
optional = ["numpy"]

[tool.pytest.ini_options]
testpaths = ["tests"]
Loading

0 comments on commit ea1d664

Please sign in to comment.