Skip to content

Commit 9b4b0f9

Browse files
Jorge Fernandez Hernandezbsipocz
authored andcommitted
EUCLIDPCR-1971 reformat file
1 parent aacf3a2 commit 9b4b0f9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

astroquery/utils/tap/tests/test_tap.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,10 +1029,9 @@ def test_upload_table():
10291029

10301030
file_json = get_pkg_data_filename(os.path.join("data", 'test_upload_file', '1744351221317O-result.json'),
10311031
package=package)
1032+
10321033
with pytest.raises(IORegistryError) as exc_info:
10331034
job = tap.upload_table(upload_resource=file_json, table_name=table_name)
10341035

1035-
assert (
1036-
"Format could not be identified based on the file name or contents, please provide a 'format' "
1037-
"argument." in str(
1038-
exc_info.value))
1036+
argument_ = "Format could not be identified based on the file name or contents, please provide a 'format' argument."
1037+
assert (argument_ in str(exc_info.value))

0 commit comments

Comments
 (0)