diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2018-10-15 08:15:40 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2018-10-15 08:15:40 -0300 |
commit | ea25eb1ecc679cb1ef3a88aefe7d6bc30fa978c2 (patch) | |
tree | e74d142041cf835ab7d4a04b7c4ebec9eb25c2fa /CONTRIBUTING.rst | |
parent | f129ba617f8d481ba8469f2e039a574c8717b312 (diff) | |
download | pytest-ea25eb1ecc679cb1ef3a88aefe7d6bc30fa978c2.tar.gz |
Fix linting
Diffstat (limited to 'CONTRIBUTING.rst')
-rw-r--r-- | CONTRIBUTING.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index c8ef03209..d3202f7c8 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -313,8 +313,8 @@ Alternatively, it is possible to make checks based on the actual output of the t """ ) result = testdir.runpytest() - result.stdout.fnmatch_lines(["*assert False*, "*1 failed*"]) - + result.stdout.fnmatch_lines(["*assert False*", "*1 failed*"]) + When choosing a file where to write a new test, take a look at the existing files and see if there's one file which looks like a good fit. For example, a regression test about a bug in the ``--lf`` option should go into ``test_cacheprovider.py``, given that this option is implemented in ``cacheprovider.py``. |