(self, *ver)
| 507 | ) |
| 508 | |
| 509 | def require_libmongocrypt_min(self, *ver): |
| 510 | other_version = Version(*ver) |
| 511 | if not _HAVE_PYMONGOCRYPT: |
| 512 | version = Version.from_string("0.0.0") |
| 513 | else: |
| 514 | from pymongocrypt import libmongocrypt_version |
| 515 | |
| 516 | version = Version.from_string(libmongocrypt_version()) |
| 517 | return self._require( |
| 518 | lambda: version >= other_version, |
| 519 | "Libmongocrypt version must be at least %s" % str(other_version), |
| 520 | ) |
| 521 | |
| 522 | def require_pymongocrypt_min(self, *ver): |
| 523 | other_version = Version(*ver) |
nothing calls this directly
no test coverage detected