Misssed one code block
authorKarthik Ram <karthik.ram@gmail.com>
Fri, 13 Sep 2013 08:53:58 +0000 (09:53 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 8 Nov 2013 03:52:35 +0000 (19:52 -0800)
testing/README.md

index befbe0b64ef4ed49e761e2808100e7a7e2f335c9..d82c4ad8f62206db671b3a79437cb010c01171e2 100644 (file)
@@ -270,7 +270,11 @@ assert_almost_equal(expected, actual, 16)
 
 `nose.testing` uses absolute tolerance: abs(x, y) <= delta
 
-[Numpy](http://www.numpy.org/)'s `numpy.testing` uses relative tolerance: abs(x, y) <= delta * (max(abs(x), abs(y)). 
+[Numpy](http://www.numpy.org/)'s `numpy.testing` uses relative tolerance: 
+
+```python
+abs(x, y) <= delta * (max(abs(x), abs(y))
+```
 
 `assert_allclose(actual_array, expected_array, relative_tolerance, absolute_tolerance)`