def assert_yaml_contains_datetime(self, yaml, dt):
        # Depending on the yaml dumper, '!timestamp' might be absent
        six.assertRegex(self, yaml, r"\n  fields: {dt: !(!timestamp)? '%s'}" + re.escape(dt))
dataset/ETHPy150Open django/django/tests/timezones/tests.py/SerializationTests.assert_yaml_contains_datetime/operator `%` -> `+`