doc: Use ascii chars for file tree

LaTeX doesn't like those particular unicode chars, so let's avoid them so the
PDF builds easily.
This commit is contained in:
Florian Bruhin 2016-04-13 23:16:41 +02:00
parent fe6e1b2059
commit 98430a17f2
1 changed files with 13 additions and 13 deletions

View File

@ -9,19 +9,19 @@ by passing the ``--ignore=path`` option on the cli. ``pytest`` allows multiple
``--ignore`` options. Example:: ``--ignore`` options. Example::
tests/ tests/
├── example |-- example
│   ├── test_example_01.py | |-- test_example_01.py
│   ├── test_example_02.py | |-- test_example_02.py
│   └── test_example_03.py | '-- test_example_03.py
├── foobar |-- foobar
│   ├── test_foobar_01.py | |-- test_foobar_01.py
│   ├── test_foobar_02.py | |-- test_foobar_02.py
│   └── test_foobar_03.py | '-- test_foobar_03.py
└── hello '-- hello
└── world '-- world
├── test_world_01.py |-- test_world_01.py
├── test_world_02.py |-- test_world_02.py
└── test_world_03.py '-- test_world_03.py
Now if you invoke ``pytest`` with ``--ignore=tests/foobar/test_foobar_03.py --ignore=tests/hello/``, Now if you invoke ``pytest`` with ``--ignore=tests/foobar/test_foobar_03.py --ignore=tests/hello/``,
you will see that ``pytest`` only collects test-modules, which do not match the patterns specified:: you will see that ``pytest`` only collects test-modules, which do not match the patterns specified::