Add decorator to test parallel execution of unit test

This commit is contained in:
Johannes Schönberger
2015-05-19 17:57:47 -07:00
parent 4b0456b8ef
commit 574159f724
2 changed files with 34 additions and 1 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ def test_swirl():
image = img_as_float(data.checkerboard())
swirl_params = {'radius': 80, 'rotation': 0, 'order': 2, 'mode': 'reflect'}
with expected_warnings(['Bi-quadratic.*bug']):
swirled = tf.swirl(image, strength=10, **swirl_params)
unswirled = tf.swirl(swirled, strength=-10, **swirl_params)