TST: More type checking during .(i)loc
- [X] Related to #43996
- [X] tests added to `pandas/tests/indexing/test_iloc.py`
- [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [X] During assignment to a .iloc or a .loc indexer, depending on whether the data frame is with mixed types or singular, the typing of the resulting assignment is not consistent.

As explained in issue #43996, the update of v1.3.0 causes a change in dtype casting when assigning a series. The issue contains a minimal working example of this rather inconsistent behaviour. In short, the type of a column changes when the assignment happens on a data frame only containing one column. With multiple columns, assigning the same series retains the original type. 

This contribution includes a test case which performs an assignment operation on a single column data frame. Naturally, because of this inconsistency of typing in the current pandas code, this test case fails. Its aim is to serve the bug fix for this inconsistency.
oh i c you are just testing this, needs a patch. Yes. I'm unsure how to patch this just yet. @DamianBarabonkovQC wanna trade?  I'll figure out the patch for this and ask you to take a look at a less esoteric issue? This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. closing as stale if you want to continue, pls ping to reopen.