Skip to content

Commit 0257d8a

Browse files
authoredDec 17, 2021
Merge pull request #2676 from oracle/fix-3.3-unit-test
switching to modern python except with argument syntax
2 parents 4a583dd + a11fd50 commit 0257d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎operator/src/test/python/test_wdt_mii_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def test_isSecureModeEnabledForDomain_importLegalHelperError(self):
415415

416416
isSecureModeEnabled = model_wdt_mii_filter.isSecureModeEnabledForDomain(topology)
417417
self.fail("Expected import error for LegalHelper")
418-
except ImportError, ie:
418+
except ImportError as ie:
419419
self.assertTrue(ie is not None)
420420

421421

0 commit comments

Comments
 (0)