Kozea / tinycss2

A tiny CSS parser
https://courtbouillon.org/tinycss2
BSD 3-Clause "New" or "Revised" License
160 stars 24 forks source link

Move tests outside of the package to own top level directory #20

Closed jdufresne closed 4 years ago

jdufresne commented 4 years ago

This avoids installing tests to end users production systems. These are often unwanted in the site-packages directory and unused by end users. The tests are still included in the source distribution (through MANIFEST.in) and can be run in exactly the same way as before.

This follows the "Tests outside application code" scheme described in the pytest documentation

https://docs.pytest.org/en/latest/goodpractices.html#choosing-a-test-layout-import-rules