Skip to content

Commit 03b5869

Browse files
committed
Add a note on GitHub archives
Signed-off-by: Michał Górny <mgorny@quansight.com>
1 parent b438bd8 commit 03b5869

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/tutorials/adding-tests.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ real consequence to us, it hints that the package can be tested using `pytest` (
8282
`pytest-cov` dependency here; it is a plugin used to report test coverage which we don't need; but
8383
including it would not be a big issue either).
8484

85+
:::note
86+
87+
More generally, packages may not include the necessary test files in the source distribution. If
88+
running the tests is desirable in these cases, you may need to use the GitHub source archive created
89+
for a tag, for example.
90+
91+
:::
92+
8593
To test our theory, we can create a new virtual environment with `pytest` installed, and try running
8694
them:
8795

0 commit comments

Comments
 (0)