diff options
| author | Michael Merickel <michael@merickel.org> | 2022-03-13 18:23:15 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2022-03-13 18:24:26 -0500 |
| commit | 1f8e290a7b287c5d8aaafd0ff91692d1343ce1a9 (patch) | |
| tree | f490995d5bf34627b9753b35eb2b7767ae68c3dc /tests/test_integration.py | |
| parent | 1e439035e41da3767acbcae79689fb05dfdeb317 (diff) | |
| download | pyramid-1f8e290a7b287c5d8aaafd0ff91692d1343ce1a9.tar.gz pyramid-1f8e290a7b287c5d8aaafd0ff91692d1343ce1a9.tar.bz2 pyramid-1f8e290a7b287c5d8aaafd0ff91692d1343ce1a9.zip | |
pyupgrade --py37-plus
Diffstat (limited to 'tests/test_integration.py')
| -rw-r--r-- | tests/test_integration.py | 2 |
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( |
