Skip to content

Commit ed73573

Browse files
Dovacodyweiji14
authored andcommitted
Change py.test to pytest (#338)
1 parent a1aac6f commit ed73573

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ version) of your plot.
322322
Run the following from the repository root:
323323

324324
```bash
325-
py.test --mpl-generate-path=baseline pygmt/tests/NAME_OF_TEST_FILE.py
325+
pytest --mpl-generate-path=baseline pygmt/tests/NAME_OF_TEST_FILE.py
326326
```
327327

328328
This will create a `baseline` folder with all the plots generated in your test

pygmt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test(doctest=True, verbose=True, coverage=False, figures=True):
4949
"""
5050
Run the test suite.
5151
52-
Uses `py.test <http://pytest.org/>`__ to discover and run the tests. If you
52+
Uses `pytest <http://pytest.org/>`__ to discover and run the tests. If you
5353
haven't already, you can install it with `conda
5454
<http://conda.pydata.org/>`__ or `pip <https://pip.pypa.io/en/stable/>`__.
5555

0 commit comments

Comments
 (0)