Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

utils.with_timeout isn't exercised in tests #38

Description

@malandrina

nuanced.utils.with_timeout was introduced in #36 but it is replaced with a test double in tests/nuanced/code_graph_test.py and is otherwise not exercised in any automated tests.

We should add some test scenarios for the following cases:

  • with_timeout is invoked with a target function that can't be pickled
  • with_timeout exposes an error when the timeout is exceeded
  • with_timeout exposes the return value of the target function when function execution succeeds before timing out

Resources:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions