Skip to content

Commit a01db31

Browse files
add hint for class attributes
solves [8252](pytest-dev#8252)
1 parent 5cc295e commit a01db31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/en/getting-started.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ This is outlined below:
210210
FAILED test_class_demo.py::TestClassDemoInstance::test_two - assert 0
211211
2 failed in 0.12s
212212
213+
Note, that attributes added at class level (e.g. outside of the `setup_method(self)`), will be shared between tests.
214+
213215
Request a unique temporary directory for functional tests
214216
--------------------------------------------------------------
215217

0 commit comments

Comments
 (0)