Skip to content

Commit 9f6cc3c

Browse files
authored
Merge pull request #364 from azmeuk/362-metaclass
avoid to mutate metaclasses
2 parents 5ed81ec + 7edc107 commit 9f6cc3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mutmut/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
# TODO: hash of function. If hash changes, retest all mutants as mutant IDs are not stable
6969

7070

71-
NEVER_MUTATE_FUNCTION_NAMES = {'__getattribute__', '__setattr__'}
71+
NEVER_MUTATE_FUNCTION_NAMES = {'__getattribute__', '__setattr__', '__new__'}
7272
NEVER_MUTATE_FUNCTION_CALLS = {'isinstance', 'len'}
7373
CLASS_NAME_SEPARATOR = 'ǁ'
7474

0 commit comments

Comments
 (0)