刚刚安装 py.testpip install -U pytest
没有错误,但是我们尝试启动时py.test
出现错误:EBUSY: [Resource device]: listdir('C:\\Users\\Administrator\\AppData\\Local\\Application Data',)
这是输出:
C:\Users\Administrator>py.test
========================== test session starts ===========================
platform win32 -- Python 2.7.3 -- pytest-2.2.4
collected 0 items / 1 errors
================================= ERRORS =================================
___________________________ ERROR collecting . ___________________________
C:\Python27\lib\site-packages\py\_path\common.py:315: in visit
> for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
C:\Python27\lib\site-packages\py\_path\common.py:361: in gen
> for p in self.gen(subdir):
C:\Python27\lib\site-packages\py\_path\common.py:361: in gen
> for p in self.gen(subdir):
C:\Python27\lib\site-packages\py\_path\common.py:361: in gen
> for p in self.gen(subdir):
C:\Python27\lib\site-packages\py\_path\common.py:346: in gen
> entries = path.listdir()
C:\Python27\lib\site-packages\py\_path\local.py:320: in listdir
> for name in py.error.checked_call(os.listdir, self.strpath):
C:\Python27\lib\site-packages\py\_error.py:83: in checked_call
> raise cls("%s%r" % (func.__name__, args))
E EBUSY: [Resource device]: listdir('C:\\Users\\Administrator\\Ap
pData\\Local\\Application Data',)
======================== 1 error in 0.03 seconds =========================
那会是什么?
谢谢