diff options
Diffstat (limited to 'src/zope/security/tests/__init__.py')
-rw-r--r-- | src/zope/security/tests/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zope/security/tests/__init__.py b/src/zope/security/tests/__init__.py index cab4c90..e8db221 100644 --- a/src/zope/security/tests/__init__.py +++ b/src/zope/security/tests/__init__.py @@ -9,7 +9,8 @@ class QuietWatchingChecker(object): def setUp(self): from zope.security import checker self.__old_file = checker.CheckerLoggingMixin._file - checker.CheckerLoggingMixin._file = io.StringIO() if bytes is not str else io.BytesIO() + checker.CheckerLoggingMixin._file = ( + io.StringIO() if bytes is not str else io.BytesIO()) def tearDown(self): from zope.security import checker |