ansys / ansys/pyfluent-visualization

Some dependency of visualization disables FutureWarning

Open
#560 0 comments 0 reactions 1 assignee Claimed by @prmukherj View on GitHub
Dominant language
Python
Stars
53
Forks
7
Avg merge
4h 58m
Merged PRs (30d)
1

Description

```
>>> import warnings
>>> warnings.warn("ABC", FutureWarning)
:1: FutureWarning: ABC
>>> import ansys.fluent.visualization
>>> warnings.warn("ABC", FutureWarning)
>>>
```
```
>>> pprint(warnings.filters)
[('ignore', None, , None, 0),
('ignore',
re.compile('numpy.ndarray size changed', re.IGNORECASE),
,
None,
0),
('ignore',
re.compile('numpy.ufunc size changed', re.IGNORECASE),
,
None,
0),
('ignore',
re.compile('numpy.dtype size changed', re.IGNORECASE),
,
None,
0),
('always', None, , None, 0),
('default', None, , '__main__', 0),
('ignore', None, , None, 0),
('ignore', None, , None, 0),
('ignore', None, , None, 0),
('ignore', None, , None, 0)]
```
Found during Fluent bug 1302628's investigation. This affects `PyFluentDeprecationWarning` in PyConsole.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.