Skip to content

Commit

Permalink
Use nodeid :: for allclose/unsupported docs
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmuss committed Aug 30, 2019
1 parent 38f5074 commit a32e887
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/examples/configuration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1279,10 +1279,10 @@
" - ignore::UserWarning\n",
" - error::ResourceWarning\n",
" nengo_test_unsupported:\n",
" test_ensemble.py:test_encoders*:\n",
" test_ensemble.py::test_encoders*:\n",
" This backend does not support encoders\n",
" allclose_tolerances:\n",
" - \"test_ensemble.py:test_encoders* atol=0.01 rtol=0.05 # comment\"\n",
" - \"test_ensemble.py::test_encoders* atol=0.01 rtol=0.05 # comment\"\n",
" plt_dirname: nengo.plots\n",
" plt_filename_drop:\n",
" - \"^nengo\\\\.\"\n",
Expand Down
4 changes: 2 additions & 2 deletions nengo_bones/tests/test_generate_bones.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ def test_setup_cfg(tmpdir):
filterwarnings:
- "ignore:hello:DeprecationWarning"
allclose_tolerances:
- "test_something.py:test_something atol=0.01 # comment"
- "test_something.py::test_something atol=0.01 # comment"
pylint:
ignore:
- zz-some-file.py
Expand Down Expand Up @@ -598,7 +598,7 @@ def test_setup_cfg(tmpdir):
assert has_line("filterwarnings =")
assert has_line(" ignore:hello:DeprecationWarning")
assert has_line("allclose_tolerances =")
assert has_line(" test_something.py:test_something atol=0.01 # comment")
assert has_line(" test_something.py::test_something atol=0.01 # comment")
assert has_line("[pylint]")
assert has_line("ignore =")
assert has_line(" zz-some-file.py")
Expand Down

0 comments on commit a32e887

Please sign in to comment.