From c237dc75e605a5c577bac07387b0b737c550bb93 Mon Sep 17 00:00:00 2001 From: zhi Date: Thu, 21 Nov 2024 17:24:09 -0500 Subject: [PATCH] fix flake8 --- pyro/mesh/tests/test_patch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyro/mesh/tests/test_patch.py b/pyro/mesh/tests/test_patch.py index b3ffb3ac3..6fa5986af 100644 --- a/pyro/mesh/tests/test_patch.py +++ b/pyro/mesh/tests/test_patch.py @@ -145,7 +145,7 @@ def test_dlogAx(self): i = 4 r = self.g.xmin + (i + 0.5 - self.g.ng) * self.g.dx dlogAx = 2.0 / r - assert (self.g.dlogAx[i,:] == dlogAx).all() + assert (self.g.dlogAx[i, :] == dlogAx).all() def test_dlogAy(self): i = 4 @@ -154,7 +154,7 @@ def test_dlogAy(self): tan = np.tan(self.g.ymin + (j + 0.5 - self.g.ng) * self.g.dy) dlogAy = 1.0 / (r * tan) - assert self.g.dlogAy[i,j] == dlogAy + assert self.g.dlogAy[i, j] == dlogAy def test_V(self): volume = np.abs(-2.0 * np.pi / 3.0 *