Loading behave_utils/proc.py +7 −0 Original line number Diff line number Diff line Loading @@ -331,6 +331,13 @@ class Executor(_ExecutorBase): """ assert not deserialiser or not query # Check interferes with query, simulate it not being accepted if "check" in kwargs: raise TypeError( f"{self.__class__.__name__}.__call__() got an unexpected keyword " "argument 'check'", ) data = ( b"" if input is None else input.encode() if isinstance(input, str) else Loading Loading
behave_utils/proc.py +7 −0 Original line number Diff line number Diff line Loading @@ -331,6 +331,13 @@ class Executor(_ExecutorBase): """ assert not deserialiser or not query # Check interferes with query, simulate it not being accepted if "check" in kwargs: raise TypeError( f"{self.__class__.__name__}.__call__() got an unexpected keyword " "argument 'check'", ) data = ( b"" if input is None else input.encode() if isinstance(input, str) else Loading