summaryrefslogtreecommitdiff
path: root/tests/test_config
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-05-07 01:16:23 -0500
committerGitHub <noreply@github.com>2020-05-07 01:16:23 -0500
commit1722cbb7bf40ce9d3793faf38f63e9f00d577613 (patch)
tree598d3ab2a98e37b6285b7995ef58ccbf7d2b3435 /tests/test_config
parent6d52dd4123c1585dd14a628a8789904fd2f5842f (diff)
parent26308141eb87300ad49134b977692ebcf50e66c7 (diff)
downloadpyramid-1722cbb7bf40ce9d3793faf38f63e9f00d577613.tar.gz
pyramid-1722cbb7bf40ce9d3793faf38f63e9f00d577613.tar.bz2
pyramid-1722cbb7bf40ce9d3793faf38f63e9f00d577613.zip
Merge pull request #3582 from Pylons/pyupgrade
Some additional Py3 only cleanups
Diffstat (limited to 'tests/test_config')
-rw-r--r--tests/test_config/test_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_config/test_views.py b/tests/test_config/test_views.py
index 6b34f1bd4..2a55ad45d 100644
--- a/tests/test_config/test_views.py
+++ b/tests/test_config/test_views.py
@@ -3099,7 +3099,7 @@ class TestMultiView(unittest.TestCase):
)
mv.add('view5', 100, accept='text/xml')
self.assertEqual(mv.media_views['text/xml'], [(100, 'view5', None)])
- self.assertEqual(set(mv.accepts), set(['text/xml', 'text/html']))
+ self.assertEqual(set(mv.accepts), {'text/xml', 'text/html'})
self.assertEqual(mv.views, [(99, 'view2', None), (100, 'view', None)])
def test_add_with_phash(self):