Skip to content

Commit

Permalink
Change py.test to pytest (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dovacody authored and weiji14 committed Oct 10, 2019
1 parent a1aac6f commit ed73573
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ version) of your plot.
Run the following from the repository root:

```bash
py.test --mpl-generate-path=baseline pygmt/tests/NAME_OF_TEST_FILE.py
pytest --mpl-generate-path=baseline pygmt/tests/NAME_OF_TEST_FILE.py
```

This will create a `baseline` folder with all the plots generated in your test
Expand Down
2 changes: 1 addition & 1 deletion pygmt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test(doctest=True, verbose=True, coverage=False, figures=True):
"""
Run the test suite.
Uses `py.test <http://pytest.org/>`__ to discover and run the tests. If you
Uses `pytest <http://pytest.org/>`__ to discover and run the tests. If you
haven't already, you can install it with `conda
<http://conda.pydata.org/>`__ or `pip <https://pip.pypa.io/en/stable/>`__.
Expand Down

0 comments on commit ed73573

Please sign in to comment.