File: a33f71955b90ec91ef184fccf593e537aa583db12b67d9130917a4349701eaa2.py

package info (click to toggle)
python-executing 2.2.0-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,860 kB
  • sloc: python: 10,235; sh: 48; makefile: 10
file content (17 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (2)
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