Backport PR #39944 on branch 1.2.x (Fix regression for setitem not aligning rhs with boolean indexer)
Backport PR #39944: Fix regression for setitem not aligning rhs with boolean indexer
> Run source activate pandas-dev
mypy --version
mypy 0.782
Performing static analysis using mypy
pandas/tests/frame/indexing/test_setitem.py:408: error: Module has no attribute "setitem"  [attr-defined]
pandas/tests/frame/indexing/test_setitem.py:408: error: Module has no attribute "loc"  [attr-defined]
Found 2 errors in 1 file (checked 1129 source files)
Performing static analysis using mypy DONE
Error: Process completed with exit code 1.


@simonjayhawkins what do you want do here :-<