After changing the stderr thing above to a real python exception, you should include a skipIf in your unit test if the IO class was not loaded.  In the other IO classes, I did this by importing the equivalent of the HAS_STFIO variable and doing skipIf that variable is False.