CoderNotes

Contents:

  • Python Notes
    • 01 Python并发的上下文管理
    • 02 pytest记忆要点
CoderNotes
  • Python Notes
  • 查看页面源码

Python Notes

  • 01 Python并发的上下文管理
    • 1.1 线程数据隔离threading.local()
    • 1.2 基于ContextVar的上下文数据隔离
  • 02 pytest记忆要点
    • 1. pytest.fixture(依赖注入与生命周期)
    • 2. 测试模块与分组(命名与标签)
    • 3. 部分范围测试(精确执行筛选)
    • 4. 全局配置文件 conftest.py(机制与自动执行时机)
    • 核心必背命令行参数与技巧
上一页 下一页

© 版权所有 2026, Songlin。

利用 Sphinx 构建,使用的 主题 由 Read the Docs 开发.