mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-12 13:32:39 +02:00
added @testing.deepTest property for skipping tests for deep scan only
This commit is contained in:
parent
f5c477563b
commit
9229100af7
1 changed files with 12 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
||||||
|
"""
|
||||||
|
|
||||||
|
MaxZ
|
||||||
|
|
||||||
|
"""
|
||||||
|
import unittest
|
||||||
|
import sys
|
||||||
|
|
||||||
|
def deepTest(reason):
|
||||||
|
if 'deep' in sys.argv:
|
||||||
|
return lambda x:x
|
||||||
|
return unittest.skip("Not deep scanning, enable deepscan by adding 'deep' argument")
|
||||||
Loading…
Add table
Add a link
Reference in a new issue