From ea25eb1ecc679cb1ef3a88aefe7d6bc30fa978c2 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 15 Oct 2018 08:15:40 -0300 Subject: [PATCH] Fix linting --- CONTRIBUTING.rst | 4 ++-- 1 file 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``.