Maybe this approach would be more appropriate:

```python
try:
    colorize(text=None)
except TypeError:
    self.fail("colorise shouldn't raise a type error when text=None")
```

I also suggest that you add a reference to the trac ticket in the `test_colorize_none_text` doc, it's faster than running a blame.