The import statement for mpmath is incorrect, as noted, but it is a common mistake because of the way NumPy is usually (correctly) imported. The programmer thought they were setting the dps (decimal ...
I'm working on writing tests for a Python module that looks like this (edited for compactness and clarity, of course): class TestConsole(unittest.TestCase): def test_log_with_freecad(self): with patch ...