Skip to content

Commit cdc35a9

Browse files
pre-commit-ci[bot]yastcher
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c914da9 commit cdc35a9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/en/deprecations.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,11 @@ test class for each test method, while the fixture runs only once per class on a
137137
self.data = [1, 2, 3] # This won't be visible to tests!
138138
139139
def test_something(self, setup_data):
140-
assert self.data == [1, 2, 3] # AttributeError: 'TestExample' object has no attribute 'data'
140+
assert self.data == [
141+
1,
142+
2,
143+
3,
144+
] # AttributeError: 'TestExample' object has no attribute 'data'
141145
142146
**After** (recommended):
143147

0 commit comments

Comments
 (0)