From 64b2a7377c52cc0a7b8c393cb3f1e4cc28f91392 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Wed, 26 Mar 2014 15:47:09 -0400 Subject: [PATCH] TST: Disable talib default params test. The data zipline_transform.window is always evaluating to empty, thus the actual checks are not being used because of the `if not data` done before running the `asserts`. This behavior should be fixed, and we should either remove the `not data` check, or bubble up that the check is being hit too many times; but in the meantime, disabling this test which takes a non-trivial amount of time to run. When run as an algorithm, outside of unit tests the talib wrapper does work, so the cause of the window always being empty may be to due to the machinery of the unit test. --- tests/test_transforms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_transforms.py b/tests/test_transforms.py index 2da00e19..5de04be5 100644 --- a/tests/test_transforms.py +++ b/tests/test_transforms.py @@ -18,7 +18,7 @@ import numpy as np import pandas as pd from datetime import timedelta, datetime -from unittest import TestCase +from unittest import TestCase, skip from six.moves import range @@ -294,6 +294,7 @@ class TestTALIB(TestCase): self.source, self.panel = \ factory.create_test_panel_ohlc_source(sim_params) + @skip def test_talib_with_default_params(self): BLACKLIST = ['make_transform', 'BatchTransform', # TODO: Figure out why MAVP generates a KeyError