ipywidgets
ipywidgets copied to clipboard
Reorganize python directories and tests
Looking at https://discuss.python.org/t/a-test-design-pattern-to-reuse-integration-tests-on-newly-built-distribution-packages/17006 and https://hynek.me/articles/testing-packaging/, it seems recommended practice is:
- Put your python source inside a non-importable src/ directory
- Move your python tests up to the top-level directory
- Make sure you are running your tests with various flags mentioned in the posts
This issue tracks our work on these points.
Assigning to 9.0 since moving the tests out of the package may be considered breaking? (or not, since IIRC tests are not exported from the base package)