# TypeError: skip() takes exactly 1 argument (0 given)

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

## Root Cause

在unittest中，@unittest.skip装饰器必须提供一个原因字符串，如果省略则报错。

## Version Compatibility

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

## Workarounds

1. **** (100% success)
   ```
   @unittest.skip('暂时跳过')
   ```
2. **** (95% success)
   ```
   def test_foo(self):
    self.skipTest('原因')
   ```

## Dead Ends

- **** — skipIf也需要条件参数，不是无参数跳过 (60% fail)
- **** — 删除装饰器会导致测试执行，而不是跳过 (70% fail)
