test_runipy.py: Handle the event of a `ShimWarning` being issued on iPython 4.x and properly import the needed items.
test_runipy.py: Handle the event of a `ShimWarning` being issued on iPython 4.x and properly import the needed items.

DudLab/runipy,paulgb/runipy,jakirkham/runipy,nanshe-org/runipy