Skip to content

warn about tests returning any non-None value #5735

@graingert

Description

@graingert

Currently there's a warning for coroutine functions (async def) but not for

twisted.internet.defer.inlineCallbacks, where the only way to tell is the fact that the test returned a deferred

  • a detailed description of the bug or suggestion
  • output of pip list from the virtual environment you are using
  • pytest and operating system versions
  • minimal example if possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: reportingrelated to terminal output and user-facing messages and errorstype: enhancementnew feature or API change, should be merged into features branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions