Skip to content

Commit 70419fe

Browse files
committed
Some more cleanup for classes
1 parent c20b139 commit 70419fe

File tree

12 files changed

+13
-13
lines changed

12 files changed

+13
-13
lines changed

astroquery/esa/hsa/tests/dummy_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
__all__ = ['DummyHandler']
44

55

6-
class DummyHandler():
6+
class DummyHandler:
77

88
def __init__(self, method, parameters):
99
self._invokedMethod = method

astroquery/esa/hsa/tests/dummy_tap_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from ....utils.tap.model.job import Job
55

66

7-
class DummyHSATapHandler():
7+
class DummyHSATapHandler:
88

99
def __init__(self, method, parameters):
1010
self.__invokedMethod = method

astroquery/esa/hsa/tests/test_hsa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from ..tests.dummy_tap_handler import DummyHSATapHandler
99

1010

11-
class TestHSA():
11+
class TestHSA:
1212

1313
def get_dummy_tap_handler(self):
1414
parameterst = {'query': "select top 10 * from hsa.v_active_observation",

astroquery/esa/iso/tests/dummy_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
__all__ = ['DummyHandler']
1313

1414

15-
class DummyHandler():
15+
class DummyHandler:
1616

1717
def __init__(self, method, parameters):
1818
self._invokedMethod = method

astroquery/esa/iso/tests/dummy_tap_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from ....utils.tap.model.job import Job
1414

1515

16-
class DummyISOTapHandler():
16+
class DummyISOTapHandler:
1717

1818
def __init__(self, method, parameters):
1919
self.__invokedMethod = method

astroquery/esa/iso/tests/test_iso.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from astroquery.esa.iso.tests.dummy_tap_handler import DummyISOTapHandler
1616

1717

18-
class TestISO():
18+
class TestISO:
1919

2020
def get_dummy_tap_handler(self):
2121
parameters = {'query': "select top 10 * from ida.observations",

astroquery/esa/xmm_newton/tests/test_xmm_newton.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def data_path(filename):
2525
return os.path.join(data_dir, filename)
2626

2727

28-
class mockResponse():
28+
class mockResponse:
2929
headers = {'Date': 'Wed, 24 Nov 2021 13:43:50 GMT',
3030
'Server': 'Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips',
3131
'Content-Disposition': 'inline; filename="0560181401.tar.gz"',
@@ -38,7 +38,7 @@ def raise_for_status():
3838
pass
3939

4040

41-
class TestXMMNewton():
41+
class TestXMMNewton:
4242
def get_dummy_tap_handler(self):
4343
parameters = {'query': "select top 10 * from v_public_observations",
4444
'output_file': "test2.vot",

astroquery/esa/xmm_newton/tests/test_xmm_newton_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from ..tests.dummy_tap_handler import DummyXMMNewtonTapHandler
2323

2424

25-
class TestXMMNewtonRemote():
25+
class TestXMMNewtonRemote:
2626
_files = {
2727
"0405320501": {
2828
"pps": [

astroquery/gaia/tests/test_gaiatap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def data_path(filename):
3939
return os.path.join(data_dir, filename)
4040

4141

42-
class TestTap():
42+
class TestTap:
4343

4444
def test_query_object(self):
4545
conn_handler = DummyConnHandler()

astroquery/hips2fits/tests/test_hips2fits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import astropy.units as u
1616

1717

18-
class TestHips2fitsRemote():
18+
class TestHips2fitsRemote:
1919

2020
# Create a new WCS astropy object
2121
w = astropy_wcs.WCS(header={

0 commit comments

Comments
 (0)