Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ lint.select = [
"PLR1716",
"RET505",
"RET506",
"RSE102",
]
lint.ignore = ["E402", "E501", "E731", "E741"]
# line-length = 219 # E501: Recommended goal is 88 to match black
Expand Down
2 changes: 1 addition & 1 deletion pytest_pyodide/hypothesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class NoHypothesisUnpickler(pickle.Unpickler):
def find_class(self, module, name):
# Only allow safe classes from builtins.
if module == "hypothesis":
raise pickle.UnpicklingError()
raise pickle.UnpicklingError
return super().find_class(module, name)


Expand Down
14 changes: 7 additions & 7 deletions pytest_pyodide/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,22 @@ def __init__(
self.restore_state()

def get_driver(self, jspi=False):
raise NotImplementedError()
raise NotImplementedError

def goto(self, page):
raise NotImplementedError()
raise NotImplementedError

def set_script_timeout(self, timeout):
raise NotImplementedError()
raise NotImplementedError

def quit(self):
raise NotImplementedError()
raise NotImplementedError

def refresh(self):
raise NotImplementedError()
raise NotImplementedError

def run_js_inner(self, code, check_code):
raise NotImplementedError()
raise NotImplementedError

def prepare_driver(self):
if self.script_type == "classic":
Expand Down Expand Up @@ -569,7 +569,7 @@ def get_driver(self, jspi=False):

class NodeDriver:
def __getattr__(self, x):
raise NotImplementedError()
raise NotImplementedError

return NodeDriver()

Expand Down
Loading