for exp in expected: > assert bool(re.search(exp, code)) E AssertionError .test/test_nose.py:64: AssertionError
th