mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 14:22:25 +00:00
test(runner): Use checked out source for local tests
TL;DR: Capture how to use real source file paths for local development. It can be useful to run the tests against the currently checked out Python source files. Changes are reflected immediately. Source file paths in Tracebacks (and other things that print the file path for Python modules) are to the actual checked out source and can be copied and pasted or used by tools that expect real paths. OTOH, testing against a real Python package install into a virtualenv done from a real source distribution can expose rare but very confusing issues. So doing both is valuable. Most typically, the former is useful for local development and the latter is most appropriate in CI.
This commit is contained in:
parent
1593ff5c52
commit
92de966c91
Loading…
Reference in New Issue
Block a user