mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-28 11:18:19 +08:00
TST: Prevent some test cases from being split
This commit is contained in:
@@ -101,6 +101,9 @@ from zipline.protocol import DATASOURCE_TYPE
|
||||
from zipline.finance.trading import TradingEnvironment
|
||||
from zipline.finance.commission import PerShare
|
||||
|
||||
# Because test cases appear to reuse some resources.
|
||||
_multiprocess_can_split_ = False
|
||||
|
||||
|
||||
class TestRecordAlgorithm(TestCase):
|
||||
def setUp(self):
|
||||
|
||||
@@ -26,6 +26,9 @@ from nose_parameterized import parameterized
|
||||
import os
|
||||
from unittest import TestCase
|
||||
|
||||
# Otherwise the next line sometimes complains about being run too late.
|
||||
_multiprocess_can_split_ = False
|
||||
|
||||
matplotlib.use('Agg')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user