From 66b88e8ca86660cbcc63770b29d7c8a370594753 Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Wed, 6 May 2020 22:58:26 -0700 Subject: set() -> {} --- tests/test_scripts/test_pserve.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'tests/test_scripts') 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): -- cgit v1.2.3