pymks
pymks copied to clipboard
Warnings and deprecations when running tests
ib/python3.7/site-packages/pymks/fmks/func.py::pymks.fmks.func.deprecate
/home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/fmks/func.py:1: DeprecationWarning: Call to deprecated function (or staticmethod) wrapper. (Use pymks.fmks instead.) -- Deprecated since version 0.4.
"""Functional helper functions for fmks.
lib/python3.7/site-packages/pymks/fmks/data/multiphase.py::pymks.fmks.data.multiphase.generate
lib/python3.7/site-packages/pymks/fmks/data/multiphase.py::pymks.fmks.data.multiphase.quantile_ndim
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_2d
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_1d
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_3d
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_versus_old
/home/wd15/.local/lib/python3.7/site-packages/toolz/functoolz.py:303: FutureWarning: arrays to stack must be passed as a "sequence" type such as list or tuple. Support for non-sequence iterables such as generators is deprecated as of NumPy 1.16 and will raise an error in the future.
return self._partial(*args, **kwargs)
lib/python3.7/site-packages/pymks/fmks/tests/test_homogenization_fmks.py::test_classification
/home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/dask/array/core.py:1359: FutureWarning: The `numpy.may_share_memory` function is not implemented by Dask array. You may want to use the da.map_blocks function or something similar to silence this warning. Your code may stop working in a future release.
FutureWarning,
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_versus_old
/home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py:107: DeprecationWarning: Call to deprecated method wrapper. (Use pymks.fmks instead.) -- Deprecated since version 0.4.
percent_variance=percent_variance,
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_versus_old
/home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/datasets/base_microstructure_generator.py:54: DeprecationWarning: Call to deprecated method wrapper. (Use pymks.fmks instead.) -- Deprecated since version 0.4.
super(_BaseMicrostructureGenerator, self).__init__()
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_versus_old
/home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/datasets/microstructure_generator.py:43: DeprecationWarning: Call to deprecated method wrapper. (Use pymks.fmks instead.) -- Deprecated since version 0.4.
filter_ = Filter(self._fftn(gaussian[None, ..., None]), self)
lib/python3.7/site-packages/pymks/fmks/tests/test_plot.py::test_plot
/home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/fmks/plot.py:12: MatplotlibDeprecationWarning:
The colNum attribute was deprecated in Matplotlib 3.2 and will be removed two minor releases later. Use ax.get_subplotspec().colspan.start instead.
axis.set_title(titles[axis.colNum])
lib/python3.7/site-packages/pymks/fmks/tests/test_plot.py::test_plot
/home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/fmks/plot.py:14: MatplotlibDeprecationWarning:
The colNum attribute was deprecated in Matplotlib 3.2 and will be removed two minor releases later. Use ax.get_subplotspec().colspan.start instead.
arrs[axis.colNum],
-- Docs: https://docs.pytest.org/en/stable/warnings.html