[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
7efd12b701
commit
f86aa30530
|
@ -18,7 +18,6 @@ import sys
|
||||||
import tokenize
|
import tokenize
|
||||||
import types
|
import types
|
||||||
from typing import Callable
|
from typing import Callable
|
||||||
from typing import DefaultDict
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
from typing import IO
|
from typing import IO
|
||||||
from typing import Iterable
|
from typing import Iterable
|
||||||
|
|
|
@ -1126,9 +1126,9 @@ def resolve_values_indices_in_parametersets(
|
||||||
argname_value_indices_for_hashable_ones[argname][value]
|
argname_value_indices_for_hashable_ones[argname][value]
|
||||||
)
|
)
|
||||||
except KeyError: # New unique value
|
except KeyError: # New unique value
|
||||||
argname_value_indices_for_hashable_ones[argname][
|
argname_value_indices_for_hashable_ones[argname][value] = (
|
||||||
value
|
argvalues_count[argname]
|
||||||
] = argvalues_count[argname]
|
)
|
||||||
argname_indices.append(argvalues_count[argname])
|
argname_indices.append(argvalues_count[argname])
|
||||||
argvalues_count[argname] += 1
|
argvalues_count[argname] += 1
|
||||||
except TypeError: # `value` is not hashable
|
except TypeError: # `value` is not hashable
|
||||||
|
|
Loading…
Reference in New Issue