summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2019-03-09 12:39:41 -0800
committerTheron Luhn <theron@luhn.com>2019-03-09 13:40:17 -0800
commit027d3cbd461be0555e7f4e44b508428228a4b56f (patch)
treec6299b875e81a5feade9634c41d14a2453a5e383 /src
parentedf7ef0c379361f3a056014b068a01657decfb76 (diff)
downloadpyramid-027d3cbd461be0555e7f4e44b508428228a4b56f.tar.gz
pyramid-027d3cbd461be0555e7f4e44b508428228a4b56f.tar.bz2
pyramid-027d3cbd461be0555e7f4e44b508428228a4b56f.zip
Revamp tests for EffectivePrincipalsPredicate.
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/predicates.py7
1 files changed, 7 insertions, 0 deletions
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)