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):
11381138 try :
11391139 instance .read_config (StringIO (text ))
11401140 self .fail ("nothing raised" )
1141- except ValueError as exc :
1141+ except ValueError , exc :
11421142 self .assertEqual (exc .args [0 ],
11431143 'Section [unix_http_server] contains incomplete '
11441144 'authentication: If a username or a password is '
@@ -1207,7 +1207,7 @@ def test_options_afinet_username_without_password(self):
12071207 try :
12081208 instance .read_config (StringIO (text ))
12091209 self .fail ("nothing raised" )
1210- except ValueError as exc :
1210+ except ValueError , exc :
12111211 self .assertEqual (exc .args [0 ],
12121212 'Section [inet_http_server] contains incomplete '
12131213 'authentication: If a username or a password is '
You can’t perform that action at this time.
0 commit comments