pytest_namespace() takes exactly 1 argument (0 given)

Issue #41 invalid
Former user created an issue

Hi, tried to define a global helper by using

def pytest_namespace(config): return { ... }

got the error:

pytest_namespace() takes exactly 1 argument (0 given)

Is it something I miss or py.test is not supposed to behave like this? Thanks, mlz.

Comments (3)

  1. mlz

    Looks like it works without config as param .. this happens in the version installed with easy_install -U py, I assume latest stable. Thanks, mlz.

  2. Log in to comment