diff --git a/setup.py b/setup.py index 14cb6da94..1463173e9 100644 --- a/setup.py +++ b/setup.py @@ -63,6 +63,7 @@ "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Topic :: Scientific/Engineering", ], keywords="qiskit sdk quantum api ibmq", diff --git a/test/ibmq/websocket/test_websocket.py b/test/ibmq/websocket/test_websocket.py index 7091af1ac..2954f29b5 100644 --- a/test/ibmq/websocket/test_websocket.py +++ b/test/ibmq/websocket/test_websocket.py @@ -89,7 +89,7 @@ def tearDownClass(cls): # Suppress websockets deprecation warning warnings.filterwarnings("ignore", category=PendingDeprecationWarning) # Manually cancel any pending asyncio tasks. - pending = asyncio.Task.all_tasks() + pending = asyncio.all_tasks() for task in pending: task.cancel() try: