File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1138,7 +1138,7 @@ def test_options_afunix_username_without_password(self):
1138
1138
try :
1139
1139
instance .read_config (StringIO (text ))
1140
1140
self .fail ("nothing raised" )
1141
- except ValueError as exc :
1141
+ except ValueError , exc :
1142
1142
self .assertEqual (exc .args [0 ],
1143
1143
'Section [unix_http_server] contains incomplete '
1144
1144
'authentication: If a username or a password is '
@@ -1207,7 +1207,7 @@ def test_options_afinet_username_without_password(self):
1207
1207
try :
1208
1208
instance .read_config (StringIO (text ))
1209
1209
self .fail ("nothing raised" )
1210
- except ValueError as exc :
1210
+ except ValueError , exc :
1211
1211
self .assertEqual (exc .args [0 ],
1212
1212
'Section [inet_http_server] contains incomplete '
1213
1213
'authentication: If a username or a password is '
You can’t perform that action at this time.
0 commit comments