File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class NoHypothesisUnpickler(pickle.Unpickler):
32
32
def find_class (self , module , name ):
33
33
# Only allow safe classes from builtins.
34
34
if module == "hypothesis" :
35
- raise pickle .UnpicklingError ()
35
+ raise pickle .UnpicklingError
36
36
return super ().find_class (module , name )
37
37
38
38
Original file line number Diff line number Diff line change @@ -144,22 +144,22 @@ def __init__(
144
144
self .restore_state ()
145
145
146
146
def get_driver (self , jspi = False ):
147
- raise NotImplementedError ()
147
+ raise NotImplementedError
148
148
149
149
def goto (self , page ):
150
- raise NotImplementedError ()
150
+ raise NotImplementedError
151
151
152
152
def set_script_timeout (self , timeout ):
153
- raise NotImplementedError ()
153
+ raise NotImplementedError
154
154
155
155
def quit (self ):
156
- raise NotImplementedError ()
156
+ raise NotImplementedError
157
157
158
158
def refresh (self ):
159
- raise NotImplementedError ()
159
+ raise NotImplementedError
160
160
161
161
def run_js_inner (self , code , check_code ):
162
- raise NotImplementedError ()
162
+ raise NotImplementedError
163
163
164
164
def prepare_driver (self ):
165
165
if self .script_type == "classic" :
@@ -569,7 +569,7 @@ def get_driver(self, jspi=False):
569
569
570
570
class NodeDriver :
571
571
def __getattr__ (self , x ):
572
- raise NotImplementedError ()
572
+ raise NotImplementedError
573
573
574
574
return NodeDriver ()
575
575
You can’t perform that action at this time.
0 commit comments