(vmprof)[brick:~/src/intro/part2] $ cat tests/test_interp.py from asminterp import interp1 from asminterp.parser import parse class BaseTestInterp(object): def test_return_1(self): r = self.interp(""" load_integer 13 print """) assert r == [13] def TestInterp(BaseTestInterp): def interp(self, p): return interp1.interp(parse(p)) (vmprof)[brick:~/src/intro/part2] $ py.test -sxv --pdb tests/test_interp.py ============================================== test session starts ============================================== platform darwin -- Python 2.7.10, pytest-2.9.2, py-1.4.27.dev1, pluggy-0.3.1 -- /Users/dev/.virtualenvs/vmprof/bin/python cachedir: tests/.cache rootdir: /Users/dev/src/intro/part2/tests, inifile: plugins: xdist-1.14, django-2.9.1, cov-2.5.1, hypothesis-3.0.2 collected 0 items ========================================= no tests ran in 0.01 seconds ========================================== (vmprof)[brick:~/src/intro/part2] $