Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dict rewritten as literal
  • Loading branch information
remyleone committed May 3, 2019
1 parent 09edf38 commit bfbf2c0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions jupyterhub/tests/mocking.py
Expand Up @@ -166,8 +166,7 @@ class FormSpawner(MockSpawner):
options_form = "IMAFORM"

def options_from_form(self, form_data):
options = {}
options['notspecified'] = 5
options = {'notspecified': 5}
if 'bounds' in form_data:
options['bounds'] = [int(i) for i in form_data['bounds']]
if 'energy' in form_data:
Expand Down Expand Up @@ -379,9 +378,9 @@ def login_user(self, name):

class MockSingleUserServer(SingleUserNotebookApp):
"""Mock-out problematic parts of single-user server when run in a thread
Currently:
- disable signal handler
"""

Expand Down

0 comments on commit bfbf2c0

Please sign in to comment.