From: funilrys Date: Sun, 3 Sep 2023 11:17:24 +0000 (+0200) Subject: Fix linting issue-s X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=33bd0df1315850c6a8100c840f19332a1e9f302d;p=stevenblack-hosts.git Fix linting issue-s --- diff --git a/testUpdateHostsFile.py b/testUpdateHostsFile.py index 0c971478a..a0392cd42 100644 --- a/testUpdateHostsFile.py +++ b/testUpdateHostsFile.py @@ -908,7 +908,14 @@ class TestNormalizeRule(BaseStdout): sys.stdout = StringIO() def test_no_comment_raw(self): - for rule in ("twitter.com", "google.com", "foo.bar.edu", "www.example-foo.bar.edu", "www.example-3045.foobar.com", "www.example.xn--p1ai"): + for rule in ( + "twitter.com", + "google.com", + "foo.bar.edu", + "www.example-foo.bar.edu", + "www.example-3045.foobar.com", + "www.example.xn--p1ai" + ): expected = (rule, "0.0.0.0 " + rule + "\n") actual = normalize_rule(