我們在哪里可以找到 Scipy 用來測驗其庫函式的源代碼?到目前為止,我有兩個線索。一種是用
import scipy
scipy.test('full')
用于測驗 Scipy。另一個線索是 Scipy 應該使用 CI 進行持續測驗:
https://github.com/scipy/scipy/blob/master/ci/azure-travis-template.yaml
uj5u.com熱心網友回復:
在專案檔案中,您可以找到測驗指南。
測驗應該使用來自https://github.com/scipy/scipy的完整專案的副本進行
該專案使用依賴于pytest的測驗運行程式,您必須事先安裝。如果您安裝了提供的 conda 環境(environment.yml例如在 github 存盤庫中),就會出現這種情況。
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/377252.html
