Skip to content

Commit

Permalink
temporarily disable test for py3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
seba-aln committed Aug 8, 2023
1 parent 8fecaaa commit 031e378
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/functional/event_engine/test_subscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ def message_called(self):
@patch.object(TestCallback, 'status_called')
@patch.object(TestCallback, 'message_called')
async def test_subscribe(mocked_status, mocked_message):
if sys.version_info < (3, 8):
pytest.skip('3.7 doesn\t work for some reason')
loop = asyncio.get_event_loop()
config = pnconf_env_copy()
config.enable_subscribe = True
Expand Down Expand Up @@ -71,6 +73,9 @@ async def delayed_publish(channel, message, delay):
@pytest.mark.asyncio
@patch.object(TestCallback, 'status_called')
async def test_handshaking(mocked_status):
if sys.version_info < (3, 8):
pytest.skip('3.7 doesn\t work for some reason')

config = pnconf_env_copy()
config.enable_subscribe = True
callback = TestCallback()
Expand Down

0 comments on commit 031e378

Please sign in to comment.