basedir not being added to sys.path for doctests
when I run py.test 2.0.3 in a project with this dir tree:
- projname - module - __init__.py - ... - tests - *.txt
if I run "py.test --doctest-glob='*.txt'" pytest doesn't add projname to sys.path, the error is that the tests can't import module. Even if I put a init.py in tests it still doesn't add the basedir in sys.path.