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 8aa8e74 commit f3a0bc1Copy full SHA for f3a0bc1
backtesting/test/_test.py
@@ -611,7 +611,7 @@ def test_multiprocessing_windows_spawn(self):
611
stats2 = Backtest(df, SmaCross).optimize(**kw)
612
613
self.assertIn('multiprocessing support', cm.warning.args[0])
614
- assert stats1.filter('[^_]').equals(stats2.filter('[^_]')), (stats1, stats2)
+ assert stats1.filter(chars := tuple('[^_]')).equals(stats2.filter(chars)), (stats1, stats2)
615
616
def test_optimize_invalid_param(self):
617
bt = Backtest(GOOG.iloc[:100], SmaCross)
0 commit comments