Getting error ImportMismatchError while running py.test

后端 未结 6 1640
不知归路
不知归路 2021-01-31 07:20

When I am running tests locally its working fine, but after creating the docker and running inside the container I am getting below error.

    /usr/local/lib/pyt         


        
6条回答
  •  既然无缘
    2021-01-31 07:42

    Found __pycache__ files in coverage/fullcoverage/ which are hidden in jupyter notebook etc.

    simply navigate to the folder and use rm -r __pyache__/ . This will take care of your pytest.

提交回复
热议问题