diff options
author | Stephan Richter <stephan.richter@gmail.com> | 2013-03-11 00:08:02 -0400 |
---|---|---|
committer | Stephan Richter <stephan.richter@gmail.com> | 2013-03-11 00:08:02 -0400 |
commit | 8cce64bbef274d776ac4856843ebe25b7d9cb51f (patch) | |
tree | c50da2740ff97cc4d9e4cf5bd8b68aa7750e808c /src/zope/security/tests | |
parent | f421e5b218f080f580d2b490b04575dc787165c3 (diff) | |
download | zope-security-8cce64bbef274d776ac4856843ebe25b7d9cb51f.tar.gz |
Start of PyPy support.
Diffstat (limited to 'src/zope/security/tests')
-rw-r--r-- | src/zope/security/tests/test_proxy.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zope/security/tests/test_proxy.py b/src/zope/security/tests/test_proxy.py index 38663cc..7c15d52 100644 --- a/src/zope/security/tests/test_proxy.py +++ b/src/zope/security/tests/test_proxy.py @@ -1887,13 +1887,13 @@ def test_using_mapping_slots_hack(): class LocationProxySecurityCheckerTests(unittest.TestCase): - def test_LocationProxy_gets_a_security_checker_when_importing_z_s_proxy( + def test_LocationProxy_gets_a_security_checker_when_importing_z_security( self): # Regression test for a problem introduced in 3.8.1 and fixed in # 3.8.3. For details see change log. import sys from zope.location.location import LocationProxy - import zope.security.proxy + import zope.security from zope.security._compat import reload # This attribute is set when zope.security.decorator is imported, to # show that it will be set too, if zope.security.proxy is imported @@ -1904,7 +1904,7 @@ class LocationProxySecurityCheckerTests(unittest.TestCase): # After deleting zope.security.decorator and reloading # zope.security.proxy the attribute is set again: del sys.modules["zope.security.decorator"] - reload(zope.security.proxy) + reload(zope.security) self.assertTrue( hasattr(LocationProxy, '__Security_checker__')) |