Skip to content

Commit de425fc

Browse files
committed
discard inheriting from object
1 parent 96f63eb commit de425fc

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
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(object):
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(object):
7+
class DummyHSATapHandler():
88

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

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(object):
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(object):
16+
class DummyISOTapHandler():
1717

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

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(object):
18+
class TestHips2fitsRemote():
1919

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

astroquery/hips2fits/tests/test_hips2fits_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
@pytest.mark.remote_data
18-
class TestHips2fitsRemote(object):
18+
class TestHips2fitsRemote():
1919

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

astroquery/vizier/tests/test_vizier_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
@pytest.mark.remote_data
11-
class TestVizierRemote(object):
11+
class TestVizierRemote():
1212

1313
target = commons.ICRSCoordGenerator(ra=299.590, dec=35.201,
1414
unit=(u.deg, u.deg))

0 commit comments

Comments
 (0)