summaryrefslogtreecommitdiff
path: root/tests/test_integration.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_integration.py')
-rw-r--r--tests/test_integration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_integration.py b/tests/test_integration.py
index f671b7c0b..0b55872d2 100644
--- a/tests/test_integration.py
+++ b/tests/test_integration.py
@@ -447,7 +447,7 @@ class TestForbiddenAppHasResult(IntegrationBase, unittest.TestCase):
def test_it(self):
res = self.testapp.get('/x', status=403)
- message, result = [x.strip() for x in res.body.split(b'\n')]
+ message, result = (x.strip() for x in res.body.split(b'\n'))
self.assertTrue(message.endswith(b'failed permission check'))
self.assertTrue(
result.startswith(