Skip to content

Commit 3b0071f

Browse files
committed
pep-8
1 parent 5098d05 commit 3b0071f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

astroquery/eso/tests/test_eso.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ def test_vvv(monkeypatch):
143143
eso = Eso()
144144
monkeypatch.setattr(eso, 'query_tap_service', monkey_tap)
145145
result = eso.query_surveys(surveys='VVV',
146-
ra=266.41681662, dec=-29.00782497,
147-
radius=0.1775,
148-
)
146+
ra=266.41681662, dec=-29.00782497,
147+
radius=0.1775,
148+
)
149149
# test all results are there and the expected target is present
150150
assert len(result) == 50
151151
assert 'target_name' in result.colnames

astroquery/eso/tests/test_eso_remote.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ def test_sgrastar(self):
113113
# Equivalent, does not depend on SESAME:
114114
with pytest.warns(MaxResultsWarning):
115115
result_s = eso.query_surveys(surveys='VVV', ra=266.41681662,
116-
dec=-29.00782497,
117-
radius=1.0)
116+
dec=-29.00782497,
117+
radius=1.0)
118118

119119
assert 'midi' in instruments
120120
assert result_i is not None
@@ -143,9 +143,9 @@ def test_multicollection(self, tmp_path):
143143
test_collections = ['VVV', 'XSHOOTER']
144144
with pytest.warns(MaxResultsWarning):
145145
result_s = eso.query_surveys(surveys=test_collections,
146-
ra=266.41681662,
147-
dec=-29.00782497,
148-
radius=1.0)
146+
ra=266.41681662,
147+
dec=-29.00782497,
148+
radius=1.0)
149149

150150
assert result_s is not None
151151
assert 'target_name' in result_s.colnames
@@ -164,7 +164,7 @@ def test_empty_return(self):
164164
# Avoid SESAME
165165
with pytest.warns(NoResultsWarning):
166166
result_s = eso.query_surveys(surveys=collections[0], ra=202.469575,
167-
dec=47.195258, radius=1.0)
167+
dec=47.195258, radius=1.0)
168168

169169
assert len(result_s) == 0
170170

@@ -254,8 +254,8 @@ def test_each_collection_sgrastar(self, tmp_path):
254254
else:
255255
with pytest.warns(NoResultsWarning):
256256
result_s = eso.query_surveys(surveys=collection, ra=266.41681662,
257-
dec=-29.00782497,
258-
radius=0.1775)
257+
dec=-29.00782497,
258+
radius=0.1775)
259259
assert len(result_s) == 0, f"Failed for collection {collection}"
260260

261261
with pytest.warns(MaxResultsWarning):

0 commit comments

Comments
 (0)