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 f4882fb commit 25b8659Copy full SHA for 25b8659
tests/test_api.py
@@ -191,5 +191,5 @@ def test_readOneSweep():
191
abf = pyabf.ABF(abfPath, loadData=False)
192
channelA = abf.getOnlySweep(sweepIndex=0, channelIndex=0)
193
channelB = abf.getOnlySweep(sweepIndex=0, channelIndex=1)
194
- assert np.mean(channelA) == -58.870506
195
- assert np.mean(channelB) == -52.948666
+ assert np.mean(channelA) == pytest.approx(-58.870506, 5)
+ assert np.mean(channelB) == pytest.approx(-52.948666, 5)
0 commit comments