<s> from __future__ import absolute_import , print_function <EOL> from numpy . testing import TestCase , assert_ , run_module_suite <EOL> from scipy . weave import inline_tools <EOL> from weave_test_utils import dec <EOL> class TestInline ( TestCase ) : <EOL> """<STR_LIT>""" <EOL> @ dec . slow <EOL> def test_exceptions ( self ) : <EOL> a = <NUM_LIT:3> <EOL> code = """<STR_LIT>""" <EOL> result = inline_tools . inline ( code , [ '<STR_LIT:a>' ] ) <EOL> assert_ ( result == <NUM_LIT:4> ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> run_module_suite ( ) </s>
