# TypeError: skipTest() missing 1 required positional argument: 'reason'

- **ID:** `python/unittest-skip-decorator-order`
- **Domain:** python
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

在使用 @unittest.skip 装饰器时，未提供原因参数，或错误地使用了 skipTest 方法。

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.9 | active | — | — |
| 3.10 | active | — | — |

## Workarounds

1. **** (100% success)
   ```
   `@unittest.skip('功能未实现')` 或在测试方法内调用 `self.skipTest('原因')`。
   ```
2. **** (95% success)
   ```
   `@pytest.mark.skip(reason='原因')` 如果使用 pytest。
   ```

## Dead Ends

- **** — 测试将被运行，可能因未实现而失败。 (60% fail)
- **** — 空原因可能不被接受，且不提供有用信息。 (40% fail)
