skip_doctest = make_label_dec('skip_doctest', 'Decorator - mark a function or method for skipping its doctest.\n\n This decorator allows you to mark a function whose docstring you wish to\n omit from testing, while preserving the docstring for introspection, help,\n etc.')
skip_win32 = skipif(sys.platform == 'win32', 'This test does not run under Windows')
skip_linux = skipif(sys.platform == 'linux2', 'This test does not run under Linux')
skip_osx = skipif(sys.platform == 'darwin', 'This test does not run under OS X')
skip_if_not_win32 = skipif(sys.platform != 'win32', 'This test only runs under Windows')
skip_if_not_linux = skipif(sys.platform != 'linux2', 'This test only runs under Linux')
skip_if_not_osx = skipif(sys.platform != 'darwin', 'This test only runs under OSX')
skipif_not_numpy = skipif(numpy_not_available, 'This test requires numpy')
skipknownfailure = skip('This test is known to fail')