def test_extract_symbols_raises_exception_with_non_python_code():
    source = "=begin A Ruby program :)=end\ndef hello\nputs 'Hello world'\nend"
    with nt.assert_raises(SyntaxError):
        code.extract_symbols(source, 'hello')
def test_extract_symbols_raises_exception_with_non_python_code():
    source = "=begin A Ruby program :)=end\ndef hello\nputs 'Hello world'\nend"
    with nt.assert_raises(SyntaxError):
        code.extract_symbols(source, 'hello')