py.test mark can't be imported from outside the py.test runner any more

Issue #75 resolved
Andreas Kloeckner created an issue

Broken backward compatibility, yet again.

Comments (3)

  1. Holger Krekel repo owner

    importing py.test.mark outside a py.test run works/is fixed in development, soon to be released. Wonder a bit, if i ever promised that py.test.mark could be imported outside a py.test run, though?

  2. Andreas Kloeckner reporter

    Not explicitly, no. But

    • it used to work
    • I (perhaps stupidly) relied on it and
    • context-dependent imports are sketchy.

    Thanks for fixing this.

    Andreas

  3. Log in to comment