TST: Suppress warnings in test_history_add_field_* tests

Temporarily suppress warnings for one line of the
test_history_add_field_* tests to work around #576 until it's fixed.
This commit is contained in:
Jonathan Kamens
2015-04-30 15:31:21 -04:00
parent 5c546b4f6c
commit c94880af2c
+5 -1
View File
@@ -16,6 +16,7 @@
from unittest import TestCase
from itertools import product
from textwrap import dedent
import warnings
from nose_parameterized import parameterized
import numpy as np
@@ -1207,7 +1208,10 @@ class TestHistoryContainerResize(TestCase):
else:
self.assertNotIn(new_spec.frequency, container.digest_panels)
self.assert_history(container, new_spec, initial_dt)
with warnings.catch_warnings():
warnings.simplefilter('ignore')
self.assert_history(container, new_spec, initial_dt)
@parameterized.expand(
(bar_count, pair, field, data_frequency)