File: fc6eb521024986baa84af2634f638e40af090be4aa70ab3c22f3d022e8068228.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 (22 lines) | stat: -rw-r--r-- 628 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
20
21
22
# This sample was generated for the following code mutation detected by mutmut:
# 
# --- executing/_position_node_finder.py
# +++ executing/_position_node_finder.py
# @@ -468,7 +468,7 @@
#              return
#  
#          if node_match(ast.Name, ctx=ast.Load) and inst_match(
# -            ("LOAD_NAME", "LOAD_FAST", "LOAD_GLOBAL"), argval=mangled_name(node)
# +            ("LOAD_NAME", "XXLOAD_FASTXX", "LOAD_GLOBAL"), argval=mangled_name(node)
#          ):
#              return
#  
# 

class TestMangling:

    def test(self):
        try:
            raise Exception(10)
        except Exception as __e:
            __e