From ad081645820d8d0f877e197d71d4f18bd99da14b Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Wed, 26 Mar 2014 13:03:54 -0400 Subject: [PATCH] MAINT: Remove unused setup from trading calendar test. The values in the setup are unused in the test suite, so remove. Also remove imports. --- tests/test_tradingcalendar.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/test_tradingcalendar.py b/tests/test_tradingcalendar.py index e536af6f..c5a43227 100644 --- a/tests/test_tradingcalendar.py +++ b/tests/test_tradingcalendar.py @@ -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): """