And after that I think you would want to close this
On 15 Sep 2013 09:53, "Anatoly Bubenkov" <bubenkoff@gmail.com> wrote:

> Please first check the parametrization example
> We didn't want to reimplement cucumber here
> Python things should be pythonic
> With pytest parametrization you have full python power for your parameters
> and you don't need to cast from strings!
> On 15 Sep 2013 09:47, "Aron Curzon" <notifications@github.com> wrote:
>
>> In pytest_bdd/scenario.py:
>>
>> > +                except python.FixtureLookupError:
>> > +                    m = None
>> > +
>> > +                    # Find the fixture this step matches
>> > +                    fm = request._fixturemanager
>> > +                    for name, fixturedef in fm._arg2fixturedefs.items():
>> > +                        faclist = list(fm._matchfactories(fixturedef, request._parentid))
>> > +                        if faclist:
>> > +                            m = re.match(name, step)
>> > +                            if m is not None:
>> > +                                break
>> > +
>> > +                    step_func = request.getfuncargvalue(m.re.pattern)
>> > +
>> > +                    # Match the function parameters
>> > +                    kwargs = m.groupdict()
>>
>> Should argument matches be passed through eval()<http://docs.python.org/2/library/functions.html#eval>so they don't have to be parsed with
>> int() <http://docs.python.org/2/library/functions.html#int> or float()<http://docs.python.org/2/library/functions.html#float>in the step function?
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/olegpidsadnyi/pytest-bdd/pull/21/files#r6366195>
>> .
>>
>