Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

asr should generate assertRaises snippets with callable's argument placeholders. #4

@rksys

Description

@rksys

currently, asr generate :

self.assertRaises(exception, callable)

instead of:

self.assertRaises(exception, callable, inputdata)
# inputdata is the arguments for the callsble

I think the placeholder of callable's argument should be added, though sometimes we test some function that need no argument(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions