From 027d3cbd461be0555e7f4e44b508428228a4b56f Mon Sep 17 00:00:00 2001 From: Theron Luhn Date: Sat, 9 Mar 2019 12:39:41 -0800 Subject: Revamp tests for EffectivePrincipalsPredicate. --- src/pyramid/predicates.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/pyramid/predicates.py b/src/pyramid/predicates.py index 5a1127fb3..974f41cc5 100644 --- a/src/pyramid/predicates.py +++ b/src/pyramid/predicates.py @@ -291,6 +291,13 @@ class PhysicalPathPredicate(object): class EffectivePrincipalsPredicate(object): + """ + .. deprecated:: 2.0 + + No longer applicable with the new :term:`security policy`. + + """ + def __init__(self, val, config): if is_nonstr_iter(val): self.val = set(val) -- cgit v1.2.3