forked from pool/python-param
* Add a `default_factory` attribute to the base Parameter (#1092) * Add a `metadata` attribute to the base Parameter (#1094) * Allow declaring Parameterized abstract base classes by inheriting from `ParameterizedABC` => This approach should be favored over `__abstract = True` (#1031) * Add `.rx.set()` method (#957) * Add missing docstrings and enhance existing ones (#992), (#994), (#997), (#998) * Better error when calling `len()` on a reactive expression (#1033) * Raise `AttributeError` when attempting to set the `value` attribute of a reactive expression (#1022) * Add an `is_instance` attribute to the `List` Parameter (#1023) * Allow `depends(..., on_init=True)` to be applied to async method (#1067) * Add `concrete` keyword to the `descendents` function => Prefer `concrete(<cls>, descendents=True)` over `concrete_descendents(<cls>)` (#1027) * Improve import time by lazy importing "slow" modules (#1037) * Only update Parameter signatures when needed (#1038) * Fix calling `descendents` on an `object()` instance (#1024) * Ensure `edit_constant` resets class and instance level parameters (#1015) * Ensure `constant` attribute is inherited (#1017) * Ensure type checkers skip `ParameterizedFunction.__init__` (#1039) * Fix `.values()/get_value_generator()` dealing with Dynamic params and an updated default value (#1058) * Do not remove `nested_refs` when updating another ref (#1061) * Fix error message of `ReactiveESMMetaClass` (#1064) * Fix `reactive_ops.__call__` (#1069) * `unwatch` no longer logs a warning and idempotent behavior clarified (#1018) * Remove bad abstract declaration on `SelectorBase` (#1086) * Do not override refs when parameter is triggered (#1089) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=68
24 lines
827 B
Diff
24 lines
827 B
Diff
Index: param-2.2.1/tests/testfiledeserialization.py
|
|
===================================================================
|
|
--- param-2.2.1.orig/tests/testfiledeserialization.py
|
|
+++ param-2.2.1/tests/testfiledeserialization.py
|
|
@@ -2,6 +2,7 @@
|
|
import unittest
|
|
import param
|
|
import sys
|
|
+import warnings
|
|
|
|
from unittest import skipIf
|
|
from tempfile import mkdtemp
|
|
@@ -197,7 +198,9 @@ class TestFileDeserialization(unittest.T
|
|
@pd_skip
|
|
def test_data_frame_stata(self):
|
|
path = '{}/val.dta'.format(self.temp_dir)
|
|
- P.data_frame.to_stata(path, write_index=False)
|
|
+ with warnings.catch_warnings():
|
|
+ warnings.simplefilter('ignore', category=FutureWarning)
|
|
+ P.data_frame.to_stata(path, write_index=False)
|
|
self._test_deserialize_array(P, path, 'data_frame')
|
|
|
|
@pd_skip
|