Skip to content

Commit 151456f

Browse files
committed
change excessive timeouts to more reasonable row limits
1 parent baf5d1f commit 151456f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

astroquery/simbad/tests/test_simbad_remote.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ def test_query_catalog(self, temp_dir):
9999

100100
def test_query_region_async(self, temp_dir):
101101
simbad = Simbad()
102-
# TODO: rewise once ROW_LIMIT is working
103-
simbad.TIMEOUT = 100
104102
simbad.ROW_LIMIT = 100
105103
simbad.cache_location = temp_dir
106104
response = simbad.query_region_async(
@@ -117,8 +115,8 @@ def test_query_region_async_vector(self, temp_dir, radius):
117115

118116
def test_query_region(self, temp_dir):
119117
simbad = Simbad()
120-
# TODO: rewise once ROW_LIMIT is working
121118
simbad.TIMEOUT = 100
119+
simbad.ROW_LIMIT = 100
122120
simbad.cache_location = temp_dir
123121
result = simbad.query_region(ICRS_COORDS_M42, radius=2 * u.deg,
124122
equinox=2000.0, epoch='J2000')

0 commit comments

Comments
 (0)