Merge pull request #3741 from kalekundert/approx_misc_tweaks

Miscellaneous improvements to approx()
This commit is contained in:
Bruno Oliveira
2018-08-01 23:40:21 -03:00
committed by GitHub
4 changed files with 117 additions and 51 deletions
+1
View File
@@ -0,0 +1 @@
Raise immediately if ``approx()`` is given an expected value of a type it doesn't understand (e.g. strings, nested dicts, etc.).
+1
View File
@@ -0,0 +1 @@
Correctly represent the dimensions of an numpy array when calling ``repr()`` on ``approx()``.