BUG: missing nose import for skip test

nose.SkipTest used but nose not imported.

Import nose at top level and use that throughout.
Merge pull request #8867 from matthew-brett/missing-nose-import

BUG: missing nose import for skip test