We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dadd093 commit 5510a3cCopy full SHA for 5510a3c
art/defences/feature_squeezing_unittest.py
@@ -13,10 +13,9 @@ def test_ones(self):
13
x = np.ones((m, n))
14
15
for depth in range(1, 50):
16
- with self.subTest("bit depth = {}".format(depth)):
17
- preproc = FeatureSqueezing()
18
- squeezed_x = preproc(x, bit_depth=depth)
19
- self.assertTrue((squeezed_x == 1).all())
+ preproc = FeatureSqueezing()
+ squeezed_x = preproc(x, bit_depth=depth)
+ self.assertTrue((squeezed_x == 1).all())
20
21
def test_random(self):
22
m, n = 1000, 20
0 commit comments