File: ea94f24a1d9b57c7a7d62c428082790caae2fa16429db2e58b2f4addb67a1964.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 (19 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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", "STORE_FAST", "XXSTORE_DEREFXX", "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 read_source_file(filename):
    from lib2to3.pgen2.tokenize import cookie_re
    with open_with_encoding_check as f:
        [cookie_re for i, line in enumerate]