Skip to content

Commit 83aa1b2

Browse files
committed
adapt an error message
1 parent 54d036f commit 83aa1b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage/databases/findstat.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,9 @@ def findstat(query=None, values=None, distribution=None, domain=None,
10071007
sage: findstat((PM, [1 for m in PM])) # optional -- internet
10081008
Traceback (most recent call last):
10091009
...
1010-
ValueError: E016: You passed too few elements (0 < 3) to FindStat!
1010+
ValueError: E016: The statistic finder was unable to perform a search on your data. The following errors have occured:
1011+
<BLANKLINE>
1012+
You passed too few elements (0 < 3) to FindStat!
10111013
10121014
Finally, we can also retrieve all statistics with a given domain::
10131015

0 commit comments

Comments
 (0)