def test_updated_date(self):
        """Annotations should have an updated date from the current time."""
        before = datetime.datetime.now()

        annotation = factories.Annotation()

        after = datetime.datetime.now()
        updated = datetime.datetime.strptime(
            annotation["updated"], "%Y-%m-%dT%H:%M:%S.%f")

        assert updated < after < before
dataset/ETHPy150Open hypothesis/h/h/test/factories_test.py/TestAnnotation.test_updated_date/swapped operands of `<`