diff options
Diffstat (limited to 'doc/en/getting-started.rst')
-rw-r--r-- | doc/en/getting-started.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/en/getting-started.rst b/doc/en/getting-started.rst index 418d4f8cd..56bb300c3 100644 --- a/doc/en/getting-started.rst +++ b/doc/en/getting-started.rst @@ -138,7 +138,7 @@ Request a unique temporary directory for functional tests # content of test_tmpdir.py def test_needsfiles(tmpdir): - print (tmpdir) + print(tmpdir) assert 0 List the name ``tmpdir`` in the test function signature and ``pytest`` will lookup and call a fixture factory to create the resource before performing the test function call. Before the test runs, ``pytest`` creates a unique-per-test-invocation temporary directory:: @@ -151,7 +151,7 @@ List the name ``tmpdir`` in the test function signature and ``pytest`` will look tmpdir = local('PYTEST_TMPDIR/test_needsfiles0') def test_needsfiles(tmpdir): - print (tmpdir) + print(tmpdir) > assert 0 E assert 0 |