Skip to content

Commit e649789

Browse files
committed
Use noqa #731 for a test function in testcontribution.py
1 parent 4f724d7 commit e649789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/srfit/tests/testcontribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def test_releaseOldEquations(self):
270270
def test_registerFunction(self):
271271
"""Ensure registered function works after second setEquation call."""
272272
fc = self.fitcontribution
273-
fsquare = lambda x: x**2
273+
fsquare = lambda x: x**2 # noqa: E731
274274
fc.registerFunction(fsquare, name="fsquare")
275275
fc.setEquation("fsquare")
276276
fc.x.setValue(5)

0 commit comments

Comments
 (0)