Skip to content

Commit 460238f

Browse files
authored
Remove asyncio_default_fixture_loop_scope setting (#1205)
The behavior of the default value of `asyncio_default_fixture_loop_scope` changed in Pytest 1.2.0. Now setting it to "function" results in an error. Removing the setting from `pytest.ini` makes things work again.
1 parent 1d9409e commit 460238f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

dev_tools/conf/pytest.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,5 @@
1616
markers =
1717
slow: marks tests as slow (deselect with '-m "not slow"')
1818

19-
# Silence deprecation warnings about option "asyncio_default_fixture_loop_scope"
20-
asyncio_default_fixture_loop_scope = "function"
21-
2219
filterwarnings =
2320
ignore:Skipped assert_qasm_is_consistent_with_unitary because qiskit.*:UserWarning

0 commit comments

Comments
 (0)