Source code for expects.matchers.built_in.be_above_or_equal

# -*- coding: utf-8 -*

from .. import Matcher


class be_above_or_equal(Matcher):
    def __init__(self, expected):
        self._expected = expected

    def _match(self, subject):
        return subject >= self._expected, []


[docs] class above_or_equal(be_above_or_equal): pass