Home
last modified time | relevance | path

Searched refs:raise_on_defect (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Lib/email/
H A D_policybase.py119 For example, the parameter 'raise_on_defect' controls whether or not an RFC
133 raise_on_defect -- If true, then defects should be raised as errors.
162 raise_on_defect = False variable in Policy
176 registered if it is not raised. If the raise_on_defect is True, the
184 if self.raise_on_defect:
191 Called by handle_defect if raise_on_defect is False. This method is
H A Dpolicy.py221 strict = default.clone(raise_on_defect=True)
/third_party/python/Lib/test/test_email/
H A Dtest_defect_handling.py327 policy = policy.clone(raise_on_defect=True)
H A Dtest_policy.py26 'raise_on_defect': False,
35 'raise_on_defect': False,
59 {'raise_on_defect': True}),
196 self.MyPolicy(raise_on_defect=True).handle_defect(foo, defect)
251 self.assertEqual(newpolicy.__dict__, {'raise_on_defect': True})

Completed in 3 milliseconds