MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _negation_str

Method _negation_str

lib/sqlalchemy/testing/exclusions.py:393–397  ·  view source on GitHub ↗
(self, config)

Source from the content-addressed store, hash-verified

391 )
392
393 def _negation_str(self, config):
394 if self.description is not None:
395 return "Not " + self._format_description(config)
396 else:
397 return self._eval_str(config, negate=True)
398
399 def _as_string(self, config, negate=False):
400 if negate:

Callers 1

_as_stringMethod · 0.95

Calls 2

_eval_strMethod · 0.95
_format_descriptionMethod · 0.80

Tested by

no test coverage detected