def isNear(self, expr, val, places=7):
        testval = self.session.run(expr)
        if isinstance(val, np.ndarray):
            for x, y in zip(testval, val):
                self.assertAlmostEqual(x, y, places=places)
        else:
            return self.assertAlmostEqual(testval, val, places=places)
Add or remove a redaction for a key path, which should be an
dataset/ETHPy150Open xraypy/xraylarch/tests/utils.py/TestCase.isNear--crossover with--dataset/ETHPy150Open beetbox/beets/beets/util/confit.py/ConfigView.set_redaction