def testAllCloseScalars(self):
    self.assertAllClose(7, (7 + 1e-08))
    with self.assertRaisesRegexp(AssertionError, 'Not equal to tolerance'):
        self.assertAllClose(7, 8)
def testAllCloseScalars(self):
    self.assertAllClose(7, (7 + 1e-08))
    with self.assertRaisesRegexp(AssertionError, 'Not equal to tolerance'):
        self.assertAllClose(7, 8)