semantic newlines in PRETTY_GOOD_PRACTICES.md (#19054)

This commit is contained in:
Kyle Altendorf
2025-01-29 11:55:46 -07:00
committed by GitHub
parent 3d562adf08
commit 96aa820b40
+4 -2
View File
@@ -612,8 +612,10 @@ class SomeWallet:
## Tests
- Do not import `test_*` modules. Instead locate shared tooling in non-test files within the `tests/` directory or subdirectories.
- Do not import fixtures. Fixtures are shared by locating them in `conftest.py` files at whatever directory layer you want them to be recursively available from.
- Do not import `test_*` modules.
Instead locate shared tooling in non-test files within the `tests/` directory or subdirectories.
- Do not import fixtures.
Fixtures are shared by locating them in `conftest.py` files at whatever directory layer you want them to be recursively available from.
- Do not use test classes.
`unittest` requires that tests be held in a class.
pytest does not.