mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-27 19:14:36 +08:00
MAINT: Remove unused setup from trading calendar test.
The values in the setup are unused in the test suite, so remove. Also remove imports.
This commit is contained in:
@@ -21,17 +21,11 @@ from zipline.utils import tradingcalendar_bmf
|
||||
import pytz
|
||||
import datetime
|
||||
from zipline.finance.trading import TradingEnvironment
|
||||
import pandas as pd
|
||||
from pandas import DatetimeIndex
|
||||
from nose.tools import nottest
|
||||
|
||||
|
||||
class TestTradingCalendar(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
today = pd.Timestamp('today', tz='UTC')
|
||||
self.end = DatetimeIndex([today])
|
||||
|
||||
@nottest
|
||||
def test_calendar_vs_environment(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user