txels/ddt — pull request #2 by santtu (2012-09-28 15:34:34+00:00)
Title: Simple enhancement to @ddt decorator to make it possible to provide user-friendly test method names

Basically, this allows to do something like:

```python
def make_data(...):
d = ...
setattr(d, "__name__", "friendly_name_computed_from_data")
return d

@dds
class ...:
@data(make_data(...), make_data(....), make_data(...))
def test_much_data(self, data):
....
```

Unless ``__name__`` is in the data, the current formatting behavior is used.