我正在試圖效仿軟件工程最佳實踐筆記本——Azure磚期間指導但我一直跑到下麵的步驟4.5:運行測試
= = = = = = = = = = = = = = = = = = = = = = = = = = = = =測試會話開始= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Beplay体育安卓版本linux平台,Python 3.9.5 pytest-7.1.2 pluggy-1.0.0
rootdir: / Workspace /回購/ CHNW /發展
收集0項/ 1錯誤
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =錯誤= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
收集測試/ transforms_test _____________錯誤。py ___________________
/usr/lib/python3.9/importlib/__init__.py: 127: import_module
_bootstrap返回。_gcd_import(名稱[:],包級別)
< importlib凍結。在_gcd_import _bootstrap >: 1030:
? ? ?
< importlib凍結。在_find_and_load _bootstrap >: 1007:
? ? ?
< importlib凍結。在_find_and_load_unlocked _bootstrap >: 986:
? ? ?
< importlib凍結。在_load_unlocked _bootstrap >: 680:
? ? ?
/ local_disk0 / .ephemeral_nfs / env / pythonenv - d47fc3aa b110 - 485 d - 9084 - 2 - b0093f9502e / lib / python3.9 /網站/ _pytest /斷言/重寫。py: 159: exec_module
self.config source_stat有限公司= _rewrite_test (fn)
/ local_disk0 / .ephemeral_nfs / env / pythonenv - d47fc3aa b110 - 485 d - 9084 - 2 - b0093f9502e / lib / python3.9 /網站/ _pytest /斷言/重寫。py: 357: _rewrite_test
源= fn.read_bytes ()
/usr/lib/python3.9/pathlib.py: 1249: read_bytes
與self.open f(模式= rb):
/usr/lib/python3.9/pathlib.py: 1242:在開放
返回io。open(自我、模式、緩衝、編碼、錯誤換行,
/usr/lib/python3.9/pathlib.py: 1110: _opener
self._accessor返回。打開(自我,旗幟,模式)
E OSError: [Errno 95]操作不支持:' / Workspace /回購/ CHNW /開發/測試/ transforms_test.py '
= = = = = = = = = = = = = = = = = = = = = = = = = = =短期測試摘要信息= = = = = = = = = = = = = = = = = = = = = = = = = = = =
測試/ transforms_test錯誤。py - OSError: [Errno 95]操作不支持:……
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !在收集打斷:1錯誤! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 1誤差在1.19 s = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
我為這個過程運行11 +集群和多次證實,我設置匹配文檔中的設置。
我不確定我錯過什麼,因為這是大多是複製/粘貼
結束這個循環,以防有人被困在同樣的情況。你可以看到在圖片transforms_test。py顯示不同的圖標然後csv。這是因為它是保存為juypter筆記本不是. py文件。腳本運行時嚐試訪問該文件,但因為它不能使用筆記本。重新創建文件作為. py固定這個問題。