Getting error ImportMismatchError while running py.test

后端 未结 6 1645
不知归路
不知归路 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:48

    You can set environment variable PY_IGNORE_IMPORTMISMATCH=1 to skip this errros. It should be fine in simple cases like running tests inside and outside docker container.

提交回复
热议问题