Skip to content

Commit a511987

Browse files
Address integration test failures in Python 3.8
1 parent 5f7371c commit a511987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_elasticsearch/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def wipe_data_streams(client):
179179
def wipe_indices(client):
180180
indices = client.cat.indices().strip().splitlines()
181181
if len(indices) > 0:
182-
index_names = [i.split(" ")[2] for i in indices]
182+
index_names = [i.split()[2] for i in indices]
183183
client.options(ignore_status=404).indices.delete(
184184
index=",".join(index_names),
185185
expand_wildcards="all",

0 commit comments

Comments
 (0)