{
  "id": "python/pytest-skip-missing-reason",
  "signature": "Skipped: no reason given",
  "signature_zh": "已跳过: 未给出原因",
  "regex": "Skipped:\\ no\\ reason\\ given",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "A test was skipped using @pytest.mark.skip or pytest.skip() without providing a reason string. This is a warning, not an error, but can be confusing.",
  "root_cause_type": "generic",
  "root_cause_zh": "使用 @pytest.mark.skip 或 pytest.skip() 跳过了测试，但没有提供原因字符串。这是一个警告，不是错误，但可能会造成混淆。",
  "versions": [
    {
      "version": "7.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "8.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The test may be intentionally skipped for a valid reason.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "xfail is for expected failures, not for skipping.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.98,
      "how": "@pytest.mark.skip(reason='not implemented yet')\ndef test_feature(): ...",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.95,
      "how": "def test_feature():\n    if not condition:\n        pytest.skip('condition not met')",
      "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.9,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-01-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}