test_lightcurve warnings removal - test_attr_access_others
@@ -1381,6 +1381,8 @@ def test_attr_access_others():
assert_array_equal(lc.foo, val_of_col_updated)
# case the same name is present as column name, meta key, and actual attribute
+ with warnings.catch_warnings():
+ warnings.simplefilter("ignore", UserWarning)
lc.bar = "bar_attr_val"
lc["bar"] = [7, 8, 9]
lc.meta["BAR"] = "bar_meta_val"
