Permalink
Commits on Aug 7, 2018
  1. Add option to disable plugin auto-loading

    hsoft committed Aug 6, 2018
    If `PYTEST_DISABLE_PLUGIN_AUTOLOAD` is set, disable auto-loading of
    plugins through setuptools entrypoints. Only plugins that have been
    explicitly specified are loaded.
    
    ref #3784.
Commits on Nov 15, 2013
  1. Added test for previous crash on failed import fix

    hsoft committed Nov 15, 2013
    Also, rewrote the fix a bit.
    ref #383.
Commits on Nov 8, 2013
  1. Fix TypeError crash on failed imports under py3.3.

    hsoft committed Nov 8, 2013
    Starting with Python 3.3, NamespacePath passed to importlib hooks
    seem to have lost the ability to be accessed by index.
    
    We wrap the index access in a try..except and wrap the path in a
    list if it happens.
    
    Fixes #383.