From 25798274189de5767a4508fb47414ac93b5a5bc9 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Fri, 30 Aug 2019 09:56:50 +0200 Subject: [PATCH] Use set literal --- httpie/sessions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpie/sessions.py b/httpie/sessions.py index 0971eac0..0ae1dc27 100644 --- a/httpie/sessions.py +++ b/httpie/sessions.py @@ -172,5 +172,5 @@ class Session(BaseConfigDict): @auth.setter def auth(self, auth): - assert set(['type', 'raw_auth']) == set(auth.keys()) + assert {'type', 'raw_auth'} == auth.keys() self['auth'] = auth