Skip to content

Commit

Permalink
fix tests on py3.6 and lint on 3.9 (#108)
Browse files Browse the repository at this point in the history
* fix tests on py3.6

* fix pre-commit rst backticks
  • Loading branch information
graingert committed Oct 14, 2021
1 parent 9489ad8 commit 072d420
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ may need to be setup or torn down for the test (the exact affected
fixtures depends on which scope they are and whether other tests will
still use the same fixture). If the timeouts really are too short to
include fixture durations, firstly make the timeouts larger ;). If
this really isn't an option a `timeout_func_only` boolean setting
this really isn't an option a ``timeout_func_only`` boolean setting
exists which can be set in the pytest ini configuration file, as
documented in `pytest --help`.
documented in ``pytest --help``.


Debugger Detection
Expand Down
2 changes: 1 addition & 1 deletion test_pytest_timeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_foo():
"""
)
result = testdir.runpytest(
"--timeout=1", "--cov=test_cov.py", "--timeout-method=thread"
"--timeout=1", "--cov=test_cov", "--timeout-method=thread"
)
result.stderr.fnmatch_lines(
[
Expand Down

0 comments on commit 072d420

Please sign in to comment.