Skip to content

Commit 60bcf93

Browse files
committed
fix globals
1 parent 0b71f81 commit 60bcf93

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

universalmutator/genmutants.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ def checkCombyDeadCode(deadCodeLines, mutant):
4747
return True
4848

4949
def cmdHandler(tmpMutantName, mutant, sourceFile, uniqueMutants):
50-
global cmd
51-
5250
if "MUTANT" not in cmd:
5351
# We asssume if the MUTANT isn't part of the command,
5452
# we need to move it into place, before, e.g., make

universalmutator/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ def isStatementDeletion(m):
120120

121121

122122
def d(m1, m2, changeWeight=5.0, origWeight=0.1, mutantWeight=0.1, codeWeight=0.5, useCache=True):
123-
global mdistanceCache
124123
if m1 == m2:
125124
return 0
126125
if useCache:

0 commit comments

Comments
 (0)