rock_paper_sand/media_filter_test.py:391:19: E1123: Unexpected keyword argument 'Uninferable_factory' in constructor call (unexpected-keyword-arg)
Expected behavior
Since pylint can't tell if the keyword arg is valid or not, I'd expect it to not complain.
Even if it does have a finding for this, the 'Uninferable_factory' in the error message is confusing, since (as far as I can tell) it's a combination of a value supplied by pylint (Uninferable) and the f-string in the code, but the actual code would never have a keyword arg with the name Uninferable_factory.
Bug description
This code is triggering unexpected-keyword-arg, I think because pylint can't infer the value of
name
:https://github.com/dseomn/rock-paper-sand/blob/b0cf620cee0cd118eb1b7ee34d15f9257d0fb3be/rock_paper_sand/media_filter_test.py#L391
Configuration
No response
Command used
Pylint output
Expected behavior
Since pylint can't tell if the keyword arg is valid or not, I'd expect it to not complain.
Even if it does have a finding for this, the
'Uninferable_factory'
in the error message is confusing, since (as far as I can tell) it's a combination of a value supplied by pylint (Uninferable
) and the f-string in the code, but the actual code would never have a keyword arg with the nameUninferable_factory
.Pylint version
https://github.com/dseomn/rock-paper-sand/actions/runs/11061313391/job/30733661830 shows pylint 3.3.1, astroid 3.3.4, and python 3.12.6.
OS / Environment
No response
Additional dependencies
No response