Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We cannot use bazel until bazelbuild/bazel#7091 is resolved since bazel invokes Python tests via `python path/to/test.py` and this causes python to add `path/to` as the first entry in sys.path. This means for any test in `haiku/_src` we have a collision between `typing` in the standard library and `haiku/_src/typing.py` causing tests to fail. Running Haiku tests by passing modules to python (e.g. `python -m path.to.test`) works, as does running via `pytest`. We prefer `pytest` since it discovers tests and has support for running tests in parallel. PiperOrigin-RevId: 291146369 Change-Id: I01165f0d0dc20f1c520c02ae9b1da155dbbf0eb6
- Loading branch information