py.test does not start (EBUSY: [Resource device])

后端 未结 2 1855
-上瘾入骨i
-上瘾入骨i 2021-01-13 20:41

Just installed py.test with pip install -U pytest with no errors, however we I\'m trying to launch py.test I get error: EBUSY: [Resource devi

2条回答
  •  生来不讨喜
    2021-01-13 20:51

    Apparently, when py.test is called it starts looking through the files/folders using standard test discovery rules. And some folders have access permissions that limit the access, thus this error occurs.

    to use py.test one must first navigate to the folder with test cases.

提交回复
热议问题