Skip to content

Commit

Permalink
set() -> {}
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalresistor committed May 7, 2020
1 parent 2af7725 commit 3d93815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_request.py
Expand Up @@ -2253,7 +2253,7 @@ def test_headers2(self):
for i in headers.keys():
assert i in r.headers and "HTTP_" + i.upper().replace("-", "_") in r.environ
r.headers = {"Server": "Apache"}
assert set(r.environ.keys()) == set(["a", "HTTP_SERVER"])
assert set(r.environ.keys()) == {"a", "HTTP_SERVER"}

def test_host_url(self):
# Request has a read only property host_url that combines several
Expand Down

0 comments on commit 3d93815

Please sign in to comment.