import numpy as np

from foolbox.attacks import SpatialAttack as Attack


def test_attack(bn_adversarial):
    adv = bn_adversarial
    attack = Attack()
    attack(adv)
    assert adv.image is not None
    assert adv.distance.value < np.inf


def test_attack_gl(gl_bn_adversarial):
    adv = gl_bn_adversarial
    attack = Attack()
    attack(adv)
    assert adv.image is not None
    assert adv.distance.value == np.inf

@@ -409,10 +409,9 @@
 lue 
-==
+%3C
  np.

Update test_attacks_spatial.py