Fix #8584. Fix the skipping of a number of tests due to incorrect importing.

This undoes a previous attempt to fix some of the skips. Value and copy
come from sharedctypes rather than plain ctypes, and the test skipping is
then done at the class level rather than test-by-test.

There are zero skipped tests after the fix.
1 file changed