1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
# This sample was generated for the following code mutation detected by mutmut:
#
# --- executing/_position_node_finder.py
# +++ executing/_position_node_finder.py
# @@ -414,7 +414,7 @@
# return
#
# if (
# - inst_match(("STORE_NAME", "STORE_FAST", "STORE_DEREF", "STORE_GLOBAL"))
# + inst_match(("STORE_NAME", "XXSTORE_FASTXX", "STORE_DEREF", "STORE_GLOBAL"))
# and node_match((ast.Import, ast.ImportFrom))
# and any(mangled_name(cast(EnhancedAST, alias)) == instruction.argval for alias in cast(ast.Import, node).names)
# ):
#
def exec_ipython_cell(self, source, callback):
from IPython import get_ipython
|