File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -179,8 +179,8 @@ def NE2(p, f):
179
179
assert "NE2" in circuit_elements
180
180
with pytest .raises (OverwriteError ):
181
181
# try to create the same element again without overwrite
182
- @element (num_params = 1 , units = ["Ohm" ]) # noqa: F811
183
- def NE2 (p , f ):
182
+ @element (num_params = 1 , units = ["Ohm" ])
183
+ def NE2 (p , f ): # noqa: F811
184
184
"""definitely a new circuit element no one has seen before
185
185
186
186
Notes
@@ -208,8 +208,8 @@ def NE3(p, f):
208
208
assert circuit_elements ["NE3" ]([1 ], [1 ]) == [[1 ]]
209
209
# try to create the same element again with overwrite
210
210
211
- @element (num_params = 1 , units = ["Ohm" ], overwrite = True ) # noqa: F811
212
- def NE3 (p , f ):
211
+ @element (num_params = 1 , units = ["Ohm" ], overwrite = True )
212
+ def NE3 (p , f ): # noqa: F811
213
213
# feel free to change to a better test
214
214
return [p * ff * 2 for ff in f ]
215
215
You can’t perform that action at this time.
0 commit comments