1from nose.plugins.skip import SkipTest
2# NB: We raise a SkipTest (instead of another type of exception) because we're in a folder,
3# thus nosetests will look for test files into this folder. With a SkipTest raised,
4# the folder will be skipped by nosetests without failing.
5raise SkipTest(
6    "You are importing theano.sandbox.cuda. This is the old GPU back-end and "
7    "is removed from Theano. Use Theano 0.9 to use it. Even better, "
8    "transition to the new GPU back-end! See "
9    "https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29")
10