Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @unpack decorator #61

Open
ADR-007 opened this issue Feb 10, 2018 · 1 comment
Open

Add @unpack decorator #61

ADR-007 opened this issue Feb 10, 2018 · 1 comment

Comments

@ADR-007
Copy link

ADR-007 commented Feb 10, 2018

I propose to add decorator which will unpack argument:

    def process(foo, bar):
        ...
    
    map(unpack(process), product(['foo1', 'foo2'], ['bar1', 'bar2']))

This decorator already is in ddt library, but it will be
strange if I will install this module only for this.

@Suor
Copy link
Owner

Suor commented Feb 11, 2018

See discussion in #62.

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

No branches or pull requests

2 participants