function: magic.invoke

 invoke magic, currently you can specify:

        assertion  patches the builtin AssertionError to try to give
                   more meaningful AssertionErrors, which by means
                   of deploying a mini-interpreter constructs
                   a useful error message.
    
def invoke(assertion=False, compile=False):

origin:<UNKNOWN>

where:

function source:

def invoke(assertion=False, compile=False):
    """ invoke magic, currently you can specify:

        assertion  patches the builtin AssertionError to try to give
                   more meaningful AssertionErrors, which by means
                   of deploying a mini-interpreter constructs
                   a useful error message.
    """
    if assertion:
        from py.__.magic import assertion
        assertion.invoke()
    if compile: 
        py.magic.patch(cpy_builtin, 'compile', py.code.compile )

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/magic/testing/test_invoke.py

traceback magic.invoke.0

called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rsession.py

traceback magic.invoke.1

called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rsession.py

traceback magic.invoke.2

called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rsession.py

traceback magic.invoke.3

called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rsession.py

traceback magic.invoke.4

called in /home/johnny/projects/merlinux/py/dist/py/test/session.py

traceback magic.invoke.5

called in None</home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_slave.py:165>

traceback magic.invoke.6

called in /home/johnny/projects/merlinux/py/dist/py/test/session.py

traceback magic.invoke.7

called in /home/johnny/projects/merlinux/py/dist/py/test/session.py

traceback magic.invoke.8

called in None</home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_slave.py:139>

traceback magic.invoke.9

called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rsession.py

traceback magic.invoke.10

called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rsession.py

traceback magic.invoke.11

called in /home/johnny/projects/merlinux/py/dist/py/magic/testing/test_invoke.py

traceback magic.invoke.12

called in /home/johnny/projects/merlinux/py/dist/py/magic/testing/test_assertion.py

traceback magic.invoke.13

called in /home/johnny/projects/merlinux/py/dist/py/test/session.py

traceback magic.invoke.14

called in None</home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_slave.py:175>

traceback magic.invoke.15

called in /home/johnny/projects/merlinux/py/dist/py/test/session.py

traceback magic.invoke.16

called in /home/johnny/projects/merlinux/py/dist/py/test/session.py

traceback magic.invoke.17

called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rsession.py

traceback magic.invoke.18

called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rsession.py

traceback magic.invoke.19

called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rsession.py

traceback magic.invoke.20