diff --git a/tests/test_wbemd.py b/tests/test_wbemd.py index 9c256b8bd..9ca4897a8 100644 --- a/tests/test_wbemd.py +++ b/tests/test_wbemd.py @@ -10,7 +10,7 @@ def _smoothed_disk_image(x, y, radius, width, height): - (Y, X) = mgrid[:height, :width] + Y, X = mgrid[:height, :width] ratio = ((X - x) ** 2 + (Y - y) ** 2) / (radius**2) return 2.0 - 2 / (1 + np.exp(-ratio)) # Scaled sigmoid funciton