===================================================== ERRORS ====================================================== ________________________________ ERROR collecting tests/base/test_transforms3d.py _________________________________ import file mismatch: imported module 'test_transforms3d' has this __file__ attribute: /home/myeatman/Repos/spatialmath-python/tests/test_transforms3d.py which is not the same as the test file we want to collect: /home/myeatman/Repos/spatialmath-python/tests/base/test_transforms3d.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ============================================= short test summary info ============================================= ERROR tests/base/test_transforms3d.py !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ================================================ 1 error in 0.51s =================================================
This fixes the following issue with pytest
===================================================== ERRORS ====================================================== ________________________________ ERROR collecting tests/base/test_transforms3d.py _________________________________ import file mismatch: imported module 'test_transforms3d' has this __file__ attribute: /home/myeatman/Repos/spatialmath-python/tests/test_transforms3d.py which is not the same as the test file we want to collect: /home/myeatman/Repos/spatialmath-python/tests/base/test_transforms3d.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ============================================= short test summary info ============================================= ERROR tests/base/test_transforms3d.py !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ================================================ 1 error in 0.51s =================================================