Skip to content

Commit

Permalink
Add -I flag to unittest to avoid using local modules
Browse files Browse the repository at this point in the history
  • Loading branch information
runame committed Nov 14, 2024
1 parent 18fe48c commit 658cded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ type-check:
@mypy .

test:
@python3 -m unittest discover -s tests/ -p "*_test.py"
@python3 -m unittest discover -s distributed_shampoo/tests/ -p "*_test.py"
@python3 -I -m unittest discover -s tests/ -p "*_test.py"
@python3 -I -m unittest discover -s distributed_shampoo/tests/ -p "*_test.py"
@python3 -m unittest discover -s distributed_shampoo/utils/tests/ -p "*_test.py"
@python3 -m unittest discover -s distributed_shampoo/gpu_tests/ -p "*_test.py"
@python3 -m unittest distributed_shampoo/utils/gpu_tests/shampoo_dist_utils_test.py
Expand Down

0 comments on commit 658cded

Please sign in to comment.