diff --git a/tests/data/test_datahandler.py b/tests/data/test_datahandler.py index 58f32e2d8..6d9f72a81 100644 --- a/tests/data/test_datahandler.py +++ b/tests/data/test_datahandler.py @@ -255,7 +255,6 @@ def test_hdf5datahandler_trades_purge(mocker, testdatadir): mocker.patch.object(Path, "exists", MagicMock(return_value=False)) unlinkmock = mocker.patch.object(Path, "unlink", MagicMock()) dh = get_datahandler(testdatadir, 'hdf5') - dh = get_datahandler(testdatadir, 'hdf5') assert not dh.trades_purge('UNITTEST/NONEXIST') assert unlinkmock.call_count == 0