Skip to content

"unexpected-keyword-arg" (Unexpected keyword argument 'text') error on subprocess.check_output #722

@avancil

Description

@avancil

Steps to reproduce

  1. Python 3.6.8
  2. check_output("ls", preexec_fn=lambda: None)
  3. pylint -E

Current behavior

temp.py:9:0: E1123: Unexpected keyword argument 'preexec_fn' in function call (unexpected-keyword-arg)

Expected behavior

No error

python -c "from astroid import __pkginfo__; print(__pkginfo__.version)" output

2.3.3

See recently closed #715. All Popen arguments need to be supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions