summaryrefslogtreecommitdiff
path: root/tests/test_scripts/test_pserve.py
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_scripts/test_pserve.py
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_scripts/test_pserve.py')
-rw-r--r--tests/test_scripts/test_pserve.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/test_scripts/test_pserve.py b/tests/test_scripts/test_pserve.py
index 2feecf3e0..5e5c28c7b 100644
--- a/tests/test_scripts/test_pserve.py
+++ b/tests/test_scripts/test_pserve.py
@@ -89,13 +89,11 @@ class TestPServeCommand(unittest.TestCase):
self.assertEqual(loader.calls[0]['defaults'], {'a': '1'})
self.assertEqual(
inst.watch_files,
- set(
- [
- os.path.abspath('/base/foo'),
- os.path.abspath('/baz'),
- os.path.abspath(os.path.join(here, '*.py')),
- ]
- ),
+ {
+ os.path.abspath('/base/foo'),
+ os.path.abspath('/baz'),
+ os.path.abspath(os.path.join(here, '*.py')),
+ },
)
def test_config_file_finds_open_url(self):