You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow doctest to deal with features requiring future server version (#797)
* Fix doctest for features requiring future server version.
* Make the unit_systems class treat the case of server version inferior to 6.1.
* Update conftest.py for doctest to treat unexpected DpfServerVersionNotSupported error.
* Update unit_system.py to create the unit_systems class only if possible.
* Revert UnitSystem requiring 6.2
* Do not try-catch the unit_systems class.
* Add a Required Version note in the uni_systems class docstring, and add a try-catch when trying to instantiate the UnitSystems, making the class empty for DPF server versions below 6.1
* Update src/ansys/dpf/core/unit_system.py
0 commit comments