GPy/GPy/testing/__init__.py

10 lines
306 B
Python
Raw Normal View History

# Copyright (c) 2014, Max Zwiessele, GPy Authors
2014-11-21 12:16:58 +00:00
# Licensed under the BSD 3-clause license (see LICENSE.txt)
import unittest
import sys
def deepTest(reason):
if reason:
return lambda x:x
return unittest.skip("Not deep scanning, enable deepscan by adding 'deep' argument to unittest call")