Skip to content

Commit 5aa08c4

Browse files
committed
TST: Simplify another test
1 parent 4b3547e commit 5aa08c4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

backtesting/test/_test.py

-3
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,6 @@ def test_file_size(self):
649649
def test_params(self):
650650
bt = Backtest(GOOG.iloc[:100], SmaCross)
651651
bt.run()
652-
fbt = FractionalBacktest(GOOG.iloc[:100], SmaCross, fractional_unit=1/1e6)
653-
fbt.run()
654652
with _tempfile() as f:
655653
for p in dict(plot_volume=False, # noqa: C408
656654
plot_equity=False,
@@ -666,7 +664,6 @@ def test_params(self):
666664
show_legend=False).items():
667665
with self.subTest(param=p[0]):
668666
bt.plot(**dict([p]), filename=f, open_browser=False)
669-
fbt.plot(**dict([p]), filename=f, open_browser=False)
670667

671668
def test_hide_legend(self):
672669
bt = Backtest(GOOG.iloc[:100], SmaCross)

0 commit comments

Comments
 (0)