Skip to content

issues Search Results · repo:pytest-dev/pytest-asyncio language:Python

Filter by

358 results
 (99 ms)

358 results

inpytest-dev/pytest-asyncio (press backspace or delete to remove)

I ve hit an issue where basically my setup is: - have an async test that tries to create some things in a postgres database running locally via testcontainers - use pytest-asyncio + testcontainers ...
needsinfo
  • 0xRaduan
  • 1
  • Opened 
    4 days ago
  • #1115

While testing 1.0.0a1 on Gentoo, I ve noticed that the following test is flaky: ========================================================= test session starts ========================================================= ...
good first issue
  • mgorny
  • 2
  • Opened 
    5 days ago
  • #1114

It would be good if there was an easy way to change the event_loop_policy for a single test. I can t see any way to do this currently from the documentation (other than moving a single test to it s own ...
enhancement
  • Dreamsorcerer
  • 3
  • Opened 
    20 days ago
  • #1101

I m converting over aiohttp code to pytest-asyncio. I noticed that in addition to the unused_port fixtures, we also have an unused_port_socket (which returns the actual socket, rather than just the port ...
feature
  • Dreamsorcerer
  • 4
  • Opened 
    20 days ago
  • #1100

(in relation to https://github.com/pytest-dev/pytest-asyncio/issues/706 and other related issues) Can I get the fixture loop_scope to default to the fixture s scope? Description If I have a fixture ...
  • oliver-sanders
  • 2
  • Opened 
    29 days ago
  • #1095

Upgrading to pytest-asyncio==0.26.0: import pytest_asyncio from httpx import AsyncClient @pytest_asyncio.fixture(scope= function ) def server_async_client() - AsyncClient: ... I get this error from ...
  • jamesbraza
  • 4
  • Opened 
    on Apr 8
  • #1090

I tried to make a fixture to throw an exception after a certain amount of time to catch deadlocks in my tests, but the exception isn t causing the TaskGroup to error out. Here is a minimal example fixture ...
  • sawalls
  • 1
  • Opened 
    on Mar 25
  • #1083

When using the option asyncio_default_test_loop_scope in my pytest.ini as described in How to change the default event loop scope of all tests, the option is ignored. The warning PytestConfigWarning: Unknown ...
  • voelcker-itsc
  • 3
  • Opened 
    on Mar 7
  • #1070

When using loop_scope= package , this fixture defined in my test/asynchronous/conftest.py throws a fatal error on test setup: @pytest_asyncio.fixture(loop_scope= package , scope= package , autouse=True) ...
  • NoahStapp
  • 6
  • Opened 
    on Jan 27
  • #1052
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub