FIX: remove deprecation warning that can cause doctest failure