Skip to content

Commit e1b8790

Browse files
authored
Update 4-test-classes-and-methods.md
1 parent 6b90ff0 commit e1b8790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

learn-pr/language/test-python-with-pytest/includes/4-test-classes-and-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class TestIsDone:
122122

123123
### Custom helper methods
124124

125-
You can create custom helper methods in a class. These methods must not be prefixed with the name `test` and can't be named as the setup or cleanup methods. In the `TestIsDone` class, we could automate the creating the temporary file in a custom helper. That custom helper method might look like this example:
125+
You can create custom helper methods in a class. These methods must not be prefixed with the name `test` and can't be named as the setup or cleanup methods. In the `TestIsDone` class, we could automate creating the temporary file in a custom helper. That custom helper method might look like this example:
126126

127127
```python
128128
def write_tmp_file(self, content):

0 commit comments

Comments
 (0)