Skip to content

Commit b2d1bf6

Browse files
committed
remove 'return' statement
1 parent 4689e37 commit b2d1bf6

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

astroquery/esa/hubble/tests/dummy_tap_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def check_parameters(self, parameters, method_name):
4949
f"Found:'{self._parameters[key]}'. Expected:'{parameters[key]}'")
5050
else:
5151
raise ValueError(f"Parameter '{key}' not found in method '{method_name}'")
52-
return True
5352

5453
def launch_job(self, query, name=None, output_file=None,
5554
output_format="votable", verbose=False, dump_to_file=False,

astroquery/esa/iso/tests/dummy_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@ def check_parameters(self, parameters, method_name):
4848
f"Found:'{self._parameters[key]}'. Expected:'{parameters[key]}'")
4949
else:
5050
raise ValueError(f"Parameter '{key}' not found in method '{method_name}'")
51-
return True

astroquery/esa/jwst/tests/DummyTapHandler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ def check_parameters(self, parameters, method_name):
7575
else:
7676
raise ValueError(f"Parameter '{str(key)}' not found "
7777
f"for method '{method_name}'")
78-
return False
7978

8079
def load_tables(self, only_names=False, include_shared_tables=False,
8180
verbose=False):

astroquery/esa/xmm_newton/tests/dummy_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,3 @@ def check_parameters(self, parameters, method_name):
4949
f"Found:'{self._parameters[key]}'. Expected:'{parameters[key]}'")
5050
else:
5151
raise ValueError(f"Parameter '{key}' not found in method '{method_name}'")
52-
return True

0 commit comments

Comments
 (0)