Skip to content

Commit 6d18741

Browse files
committed
Ensure the Kerberos mock test handles OS errors correctly.
1 parent dc47bf4 commit 6d18741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/pgadmin/browser/tests/test_kerberos_with_mocking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def setUp(self):
5757
except ImportError as e:
5858
self.skipTest("Import Error: GSSAPI module couldn't be loaded. " +
5959
str(e))
60-
except OSError:
60+
except OSError as e:
6161
self.skipTest("OS Error: GSSAPI module couldn't be loaded. " +
6262
str(e))
6363

0 commit comments

Comments
 (0)