{
  "id": "python/pytest-markers-unknown",
  "signature": "PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?",
  "signature_zh": "pytest未知标记警告：未知的pytest.mark.slow - 是不是拼写错误？",
  "regex": "PytestUnknownMarkWarning:\\ Unknown\\ pytest\\.mark\\.slow\\ \\-\\ is\\ this\\ a\\ typo\\?",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "使用了未注册的pytest标记，导致警告，可能影响测试筛选。",
  "root_cause_type": "generic",
  "root_cause_zh": "pytest标记未在配置中注册，导致警告。",
  "versions": [
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "可能导致标记不生效，测试筛选失败。",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "可能移除需要的测试分类。",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 1.0,
      "how": "[pytest]\nmarkers =\n    slow: marks tests as slow",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.95,
      "how": "def pytest_configure(config):\n    config.addinivalue_line('markers', 'slow: slow tests')",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-04-18",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}