We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ad42c commit d7a3334Copy full SHA for d7a3334
components/dash-table/tests/selenium/conftest.py
@@ -31,7 +31,7 @@ def null_decorator(f):
31
precinfo = []
32
for p in precs:
33
spec = inspect.getfullargspec(p)
34
- if spec.varargs or spec.keywords:
+ if spec.varargs or spec.varkw:
35
raise PreconditionError(
36
(
37
"Invalid precondition must not accept * nor ** args:\n" + " {!s}\n"
@@ -77,7 +77,7 @@ def g(*a, **kw):
77
"Precondition failed in call {!r}{}:\n {!s}\n".format(
78
g,
79
inspect.formatargvalues(
80
- fspec.args, fspec.varargs, fspec.keywords, args
+ fspec.args, fspec.varargs, fspec.varkw, args
81
),
82
stripped_source(p),
83
)
0 commit comments