Update W401 test.

This commit is contained in:
Raphael Mitsch 2023-03-17 08:59:52 +01:00
parent 307bbab285
commit 2377b67f81

View File

@ -212,7 +212,8 @@ class Warnings(metaclass=ErrorsWithCodes):
# v4 warning strings
W400 = ("`use_upper=False` is ignored, the upper layer is always enabled")
W401 = ("`incl_prior is True`, but the selected knowledge base type {kb_type} doesn't support prior probability "
"lookups.")
"lookups (`.supports_prior_probs is False`). If your KB does support prior probability lookups, make sure "
"to return True in `.supports_prior_probs`.")
class Errors(metaclass=ErrorsWithCodes):