Skip to content

Python 3.8 support #504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Nov 20, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Skip test_adversity on Windows & Python 3.8
The way the test rig is written seems to be incompatible
with ProactorEventLoop which is the dafault on Windows in
Python 3.8
  • Loading branch information
1st1 committed Nov 20, 2019
commit a9b3713027880dc58b47f70cf43b00ccdfc80089
6 changes: 6 additions & 0 deletions tests/test_adversity.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@

import asyncio
import os
import platform
import unittest
import sys

from asyncpg import _testbase as tb


@unittest.skipIf(os.environ.get('PGHOST'), 'using remote cluster for testing')
@unittest.skipIf(
platform.system() == 'Windows' and
sys.version_info >= (3, 8),
'not compatible with ProactorEventLoop which is default in Python 3.8')
class TestConnectionLoss(tb.ProxiedClusterTestCase):
@tb.with_timeout(30.0)
async def test_connection_close_timeout(self):
Expand Down