Skip to content

Fix UR.parse_units() usage to follow its API

Zbigniew Reszela requested to merge reszelaz/taurus:compat_pint_0.21 into develop

UR.parse_units(None) is not following its API but was apparently working in pint < 0.21. Replace its usage by UR.parse_units("") to be also compatible with pint 0.21 and higher.

See discussion on pint#1768.

Merge request reports