I will update with that. Thanks
On Mar 19, 2014 6:52 PM, "Carles Barrobés i Meix" <notifications@github.com>
wrote:

> In ddt.py:
>
> >              name, value.encode('ascii', 'backslashreplace')
> >          )
> > +    return test_name.replace('.', '_')
>
> So I understand your purpose is to generate a valid python identifier as a
> test name. This doesn't quite achieve it, it only caters for a very
> specific case.
>
> What about something like this (source
> http://stackoverflow.com/a/3305731/166761):
>
> test_name = re.sub('\W|^(?=\d)','_', test_name)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/txels/ddt/pull/18/files#r10773525>
> .
>