Skip to content

Commit

Permalink
Mark wheels as Python 3.x only
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson authored Dec 27, 2021
1 parent c63fd69 commit d622235
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[bdist_wheel]
universal = 1

[flake8]
ignore = E203, E266, E501, W503

Expand Down
12 changes: 3 additions & 9 deletions test_elasticsearch/test_types/aliased_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,14 @@ def streaming_bulk_types() -> None:
pass
for _ in streaming_bulk(es, sync_gen().__iter__()):
pass
for _ in streaming_bulk(es, [{}]):
pass
for _ in streaming_bulk(es, ({},)):
for _ in streaming_bulk(es, [{"key": "value"}]):
pass


def bulk_types() -> None:
_, _ = bulk(es, sync_gen())
_, _ = bulk(es, sync_gen().__iter__())
_, _ = bulk(es, [{}])
_, _ = bulk(es, ({},))
_, _ = bulk(es, [{"key": "value"}])


def reindex_types() -> None:
Expand Down Expand Up @@ -144,17 +141,14 @@ async def async_streaming_bulk_types() -> None:
pass
async for _ in async_streaming_bulk(es2, async_gen().__aiter__()):
pass
async for _ in async_streaming_bulk(es2, [{}]):
pass
async for _ in async_streaming_bulk(es2, ({},)):
async for _ in async_streaming_bulk(es2, [{"key": "value"}]):
pass


async def async_bulk_types() -> None:
_, _ = await async_bulk(es2, async_gen())
_, _ = await async_bulk(es2, async_gen().__aiter__())
_, _ = await async_bulk(es2, [{}])
_, _ = await async_bulk(es2, ({},))


async def async_reindex_types() -> None:
Expand Down

0 comments on commit d622235

Please sign in to comment.