Use set literal

This commit is contained in:
Jakub Roztocil 2019-08-30 09:56:50 +02:00
parent 9bd8b4e8f7
commit 2579827418

View File

@ -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