[TIP] Coverage does not cover script if py.test executes it from another directory

Ned Batchelder ned at nedbatchelder.com
Thu Sep 5 19:36:19 PDT 2013


On 9/5/13 6:33 AM, Christoph Buchner wrote:
> Sure, see attachment. step-by-step instructions in Instructions.txt
>
> thanks,
> Christoph

Christoph, when I follow your instructions, I get the same output for 
both commands.  They both print "--Contents of arg_file.txt--", and both 
say 0% coverage for my_script.py when the report is generated.  I've 
attached the complete output.

I'll look into why the script isn't measured (and why there's no debug 
message that it isn't being measured), but it's disconcerting that our 
results are different.

--Ned.

-------------- next part --------------
(christoph)~/pytest_experiment $ py.test -s
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/__init__.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/utf_8.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/codecs.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/zipfile.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/io.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/urlparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/collections.py': is in the stdlib
Not tracing '<string>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/copy_reg.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/sysconfig.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pkgutil.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/inspect.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/repr.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/tempfile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/fnmatch.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ast.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/__init__.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/transformer.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/ast.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/consts.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/symbol.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/visitor.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/pycodegen.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/syntax.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/pyassem.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/misc.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/future.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/symbols.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/string.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/linecache.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/bisect.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/tokenize.py': is in the stdlib
Not tracing '<assertion interpretation>': not a real filename
======================================================================================== test session starts =========================================================================================
platform linux2 -- Python 2.7.5 -- pytest-2.3.5
collecting 0 itemsNot tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/ascii.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/subprocess.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pickle.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/shlex.py': is in the stdlib
collected 2 items 

tests/test_in_scriptdir.py Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/os.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/random.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/shutil.py': is in the stdlib

set_up: In directory /tmp/pytest-0/test_10
Running in directory /home/ned/pytest_experiment
Command: ./my_script.py /tmp/pytest-0/test_10/arg_file.txt
--Contents of arg_file.txt--

.
tests/test_in_tmpdir.py 
set_up: In directory /tmp/pytest-0/test_11
Running in directory /tmp/pytest-0/test_11
Command: /home/ned/pytest_experiment/my_script.py arg_file.txt
--Contents of arg_file.txt--

.

====================================================================================== 2 passed in 0.16 seconds ======================================================================================
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': is part of coverage.py
(christoph)~/pytest_experiment $ 
(christoph)~/pytest_experiment $ 
(christoph)~/pytest_experiment $ coverage erase
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/__init__.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/utf_8.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/codecs.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/zipfile.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/io.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/urlparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/collections.py': is in the stdlib
Not tracing '<string>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/copy_reg.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/sysconfig.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pkgutil.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/cmdline.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/config.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ConfigParser.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/misc.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/files.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/data.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/codeunit.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/results.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': is in the stdlib
(christoph)~/pytest_experiment $ rm .coverage.*
(christoph)~/pytest_experiment $ coverage run --source . -m py.test -s tests/test_in_scriptdir.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/__init__.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/utf_8.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/codecs.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/zipfile.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/io.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/urlparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/collections.py': is in the stdlib
Not tracing '<string>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/copy_reg.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/sysconfig.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pkgutil.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/cmdline.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/config.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ConfigParser.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/misc.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/files.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/data.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/codeunit.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/results.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/execfile.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_apipkg.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': falls outside the --source trees
Not tracing '<exec_function>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/test.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/pytest.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/core.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/hookspec.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/config.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_std.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/inspect.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_code/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_code/code.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_builtin.py': falls outside the --source trees
Not tracing '<string>': not a real filename
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/repr.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/mark.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/main.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/local.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/common.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/terminal.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/runner.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/python.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/monkeypatch.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/pdb.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/unittest.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/capture.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/skipping.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/tmpdir.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/recwarn.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/pastebin.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/helpconfig.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/nose.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_io/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_io/capture.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/tempfile.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/util.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/genscript.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/junitxml.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_xmlgen.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/resultlog.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/doctest.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/pkg_resources.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ast.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/reinterpret.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/oldinterpret.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/__init__.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/transformer.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/ast.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/consts.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/symbol.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/visitor.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/pycodegen.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/syntax.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/pyassem.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/misc.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/future.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/symbols.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/newinterpret.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/rewrite.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_io/saferepr.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_code/source.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/string.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_error.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/linecache.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/bisect.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/tokenize.py': falls outside the --source trees
Not tracing '<assertion interpretation>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_io/terminalwriter.py': falls outside the --source trees
======================================================================================== test session starts =========================================================================================
platform linux2 -- Python 2.7.5 -- pytest-2.3.5
collecting 0 itemsNot tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/fnmatch.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/subprocess.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pickle.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/shlex.py': falls outside the --source trees
collected 1 items 

tests/test_in_scriptdir.py Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/os.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/random.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/shutil.py': falls outside the --source trees

set_up: In directory /tmp/pytest-1/test_10
Running in directory /home/ned/pytest_experiment
Command: ./my_script.py /tmp/pytest-1/test_10/arg_file.txt
--Contents of arg_file.txt--

.

====================================================================================== 1 passed in 0.04 seconds ======================================================================================
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/random.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/os.py': is in the stdlib
(christoph)~/pytest_experiment $ coverage combine
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/__init__.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/utf_8.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/codecs.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/zipfile.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/io.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/urlparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/collections.py': is in the stdlib
Not tracing '<string>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/copy_reg.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/sysconfig.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pkgutil.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/cmdline.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/config.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ConfigParser.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/misc.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/files.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/data.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/codeunit.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/results.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': is in the stdlib
(christoph)~/pytest_experiment $ coverage report
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/__init__.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/utf_8.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/codecs.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/zipfile.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/io.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/urlparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/collections.py': is in the stdlib
Not tracing '<string>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/copy_reg.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/sysconfig.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pkgutil.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/cmdline.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/config.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ConfigParser.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/misc.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/files.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/data.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/codeunit.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/results.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/summary.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/report.py': is part of coverage.py
Name                                                                           Stmts   Miss  Cover
--------------------------------------------------------------------------------------------------
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/parser.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/tokenize.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/bytecode.py': is part of coverage.py
/home/ned/.virtualenvs/christoph/bin/coverage                                      5      0   100%
/home/ned/.virtualenvs/christoph/lib/python2.7/site                              433    394     9%
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/pkg_resources      1523    835    45%
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_code/code       518    516     1%
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_error            50     47     6%
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/common     233    220     6%
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/local      588    573     3%
my_script                                                                          3      3     0%
tests/conftest                                                                     7      0   100%
tests/test_in_scriptdir                                                           11      0   100%
--------------------------------------------------------------------------------------------------
TOTAL                                                                           3371   2588    23%
(christoph)~/pytest_experiment $ 
(christoph)~/pytest_experiment $ 
(christoph)~/pytest_experiment $ coverage erase
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/__init__.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/utf_8.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/codecs.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/zipfile.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/io.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/urlparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/collections.py': is in the stdlib
Not tracing '<string>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/copy_reg.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/sysconfig.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pkgutil.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/cmdline.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/config.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ConfigParser.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/misc.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/files.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/data.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/codeunit.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/results.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': is in the stdlib
(christoph)~/pytest_experiment $ rm .coverage.*
(christoph)~/pytest_experiment $ coverage run --source . -m py.test -s tests/test_in_tmpdir.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/__init__.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/utf_8.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/codecs.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/zipfile.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/io.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/urlparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/collections.py': is in the stdlib
Not tracing '<string>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/copy_reg.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/sysconfig.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pkgutil.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/cmdline.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/config.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ConfigParser.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/misc.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/files.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/data.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/codeunit.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/results.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/execfile.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_apipkg.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': falls outside the --source trees
Not tracing '<exec_function>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/test.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/pytest.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/core.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/hookspec.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/config.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_std.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/inspect.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_code/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_code/code.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_builtin.py': falls outside the --source trees
Not tracing '<string>': not a real filename
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/repr.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/mark.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/main.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/local.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/common.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/terminal.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/runner.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/python.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/monkeypatch.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/pdb.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/unittest.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/capture.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/skipping.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/tmpdir.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/recwarn.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/pastebin.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/helpconfig.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/nose.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_io/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_io/capture.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/tempfile.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/__init__.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/util.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/genscript.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/junitxml.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_xmlgen.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/resultlog.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/doctest.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/pkg_resources.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ast.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/reinterpret.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/oldinterpret.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/__init__.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/transformer.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/ast.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/consts.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/symbol.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/visitor.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/pycodegen.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/syntax.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/pyassem.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/misc.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/future.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/compiler/symbols.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/newinterpret.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/_pytest/assertion/rewrite.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_io/saferepr.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_code/source.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/string.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_error.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/linecache.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/bisect.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/tokenize.py': falls outside the --source trees
Not tracing '<assertion interpretation>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_io/terminalwriter.py': falls outside the --source trees
======================================================================================== test session starts =========================================================================================
platform linux2 -- Python 2.7.5 -- pytest-2.3.5
collecting 0 itemsNot tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/fnmatch.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/subprocess.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pickle.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/shlex.py': falls outside the --source trees
collected 1 items 

tests/test_in_tmpdir.py Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/os.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/random.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/shutil.py': falls outside the --source trees

set_up: In directory /tmp/pytest-2/test_10
Running in directory /tmp/pytest-2/test_10
Command: /home/ned/pytest_experiment/my_script.py arg_file.txt
--Contents of arg_file.txt--

.

====================================================================================== 1 passed in 0.04 seconds ======================================================================================
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': falls outside the --source trees
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': falls outside the --source trees
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/random.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/os.py': is in the stdlib
(christoph)~/pytest_experiment $ coverage combine
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/__init__.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/utf_8.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/codecs.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/zipfile.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/io.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/urlparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/collections.py': is in the stdlib
Not tracing '<string>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/copy_reg.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/sysconfig.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pkgutil.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/cmdline.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/config.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ConfigParser.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/misc.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/files.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/data.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/codeunit.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/results.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': is in the stdlib
(christoph)~/pytest_experiment $ coverage report
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/__init__.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/utf_8.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/codecs.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/zipfile.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/io.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/urlparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/collections.py': is in the stdlib
Not tracing '<string>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/copy_reg.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/sysconfig.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pkgutil.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/cmdline.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/config.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ConfigParser.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/misc.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/files.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/data.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/codeunit.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/results.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/summary.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/report.py': is part of coverage.py
Name                                                                           Stmts   Miss  Cover
--------------------------------------------------------------------------------------------------
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/parser.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/tokenize.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/bytecode.py': is part of coverage.py
/home/ned/.virtualenvs/christoph/bin/coverage                                      5      0   100%
/home/ned/.virtualenvs/christoph/lib/python2.7/site                              433    394     9%
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/pkg_resources      1523    835    45%
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_code/code       518    516     1%
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_error            50     47     6%
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/common     233    220     6%
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/local      588    573     3%
my_script                                                                          3      3     0%
tests/conftest                                                                     7      0   100%
tests/test_in_tmpdir                                                               9      0   100%
--------------------------------------------------------------------------------------------------
TOTAL                                                                           3369   2588    23%
(christoph)~/pytest_experiment $ coverage debug data
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/threading.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/genericpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/UserDict.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/posixpath.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/__init__.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/encodings/utf_8.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/codecs.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/zipfile.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/io.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/abc.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_weakrefset.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/re.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_compile.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/sre_parse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/urlparse.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/collections.py': is in the stdlib
Not tracing '<string>': not a real filename
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/copy_reg.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/sysconfig.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/stat.py': is in the stdlib
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/pkgutil.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/cmdline.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/optparse.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/control.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/config.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/ConfigParser.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/_abcoll.py': is in the stdlib
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/misc.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/backward.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/files.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/collector.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/data.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/codeunit.py': is part of coverage.py
Not tracing '/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/coverage/results.py': is part of coverage.py
Not tracing '/usr/local/pythonz/pythons/CPython-2.7.5/lib/python2.7/atexit.py': is in the stdlib
-- data ---------------------------------------
path: /home/ned/pytest_experiment/.coverage
has_arcs: False

10 files:
/home/ned/.virtualenvs/christoph/bin/coverage: 6 lines
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/pkg_resources.py: 762 lines
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_code/code.py: 2 lines
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_error.py: 3 lines
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/common.py: 13 lines
/home/ned/.virtualenvs/christoph/lib/python2.7/site-packages/py/_path/local.py: 15 lines
/home/ned/.virtualenvs/christoph/lib/python2.7/site.py: 45 lines
/home/ned/pytest_experiment/my_script.py: 0 lines
/home/ned/pytest_experiment/tests/conftest.py: 8 lines
/home/ned/pytest_experiment/tests/test_in_tmpdir.py: 11 lines
(christoph)~/pytest_experiment $ 


More information about the testing-in-python mailing list