Skip to content

Commit 152d894

Browse files
committed
TST: Fix failing test (fixup prev commit)
1 parent 1faa7e8 commit 152d894

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backtesting/test/_test.py

+1
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ def test_optimize(self):
373373
with _tempfile() as f:
374374
bt.plot(filename=f, open_browser=False)
375375

376+
@unittest.skipIf(not hasattr(_Array, 'df'), 'v2 branch is not merged')
376377
def test_nowrite_df(self):
377378
# Test we don't write into passed data df by default.
378379
# Important for copy-on-write in Backtest.optimize()

0 commit comments

Comments
 (0)