def assert_got_errid(self, errid):
        assert any(msg["id"] == errid for msg in
                   (self.err.errors + self.err.warnings + self.err.notices)), \
                "%s was expected, but it was not found." % repr(errid)
Adjust the label position according to the scale.
dataset/ETHPy150Open mozilla/app-validator/tests/helper.py/TestCase.assert_got_errid--crossover with--dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/lib-tk/ttk.py/LabeledScale._adjust