Skip to content

Commit

Permalink
Update test_circuit_elements.py
Browse files Browse the repository at this point in the history
Fix flake8 ignore lines that are causing the linter to fail
  • Loading branch information
mdmurbach authored Sep 12, 2024
1 parent f2fe5cd commit 691773f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions impedance/tests/test_circuit_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ def NE2(p, f):
assert "NE2" in circuit_elements
with pytest.raises(OverwriteError):
# try to create the same element again without overwrite
@element(num_params=1, units=["Ohm"]) # noqa: F811
def NE2(p, f):
@element(num_params=1, units=["Ohm"])
def NE2(p, f): # noqa: F811
"""definitely a new circuit element no one has seen before
Notes
Expand Down Expand Up @@ -208,8 +208,8 @@ def NE3(p, f):
assert circuit_elements["NE3"]([1], [1]) == [[1]]
# try to create the same element again with overwrite

@element(num_params=1, units=["Ohm"], overwrite=True) # noqa: F811
def NE3(p, f):
@element(num_params=1, units=["Ohm"], overwrite=True)
def NE3(p, f): # noqa: F811
# feel free to change to a better test
return [p * ff * 2 for ff in f]

Expand Down

0 comments on commit 691773f

Please sign in to comment.