Skip to content

Commit 20d6912

Browse files
Jorge Fernandez Hernandezbsipocz
authored andcommitted
GAIAPCR-1036 C9APP-134 Include encoding="utf8" to open de file
1 parent 4842cc6 commit 20d6912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/utils/tap/xmlparser/tests/test_xmlparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_table_list_parser():
6969

7070
def test_table_list_parser_with_size_bytes():
7171
fileName = data_path('test_tables_gaia.xml')
72-
file = open(fileName, 'r')
72+
file = open(fileName, 'r', encoding="utf8")
7373
parser = TableSaxParser()
7474
tables = parser.parseData(file)
7575
assert len(tables) == 3

0 commit comments

Comments
 (0)