在子解释器中运行pytest
项目描述
# pytest-subinterpreter
一个用于在[子解释器](https://peps.pythonlang.cn/554)内运行pytest会话的Pytest扩展。此扩展主要针对希望验证其现有测试套件在子解释器内工作的Python扩展库维护者。
要求
Python 3.13.0-alpha.2或更高版本
Pytest 7或更高版本
## 安装
`console pip install pytest-subinterpreter `
## 使用
扩展参数包括
–interpreter-per 默认为session(也是目前唯一的选项)。
`console pytest tests/test_simple.py `
项目详情
关闭
pytest-subinterpreter-0.0.2.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 54edf078f6487bf120c628235ad6fbf1e884510fc99b2e6442800227af544c4f |
|
MD5 | 47cf90f7009e8efe1e651934d3833bdd |
|
BLAKE2b-256 | 090c15478039cb7ba52b52614b664c06e26249c8a9bd8a4937907d192d9dbdf4 |