Skip to content

Commit a11fd50

Browse files
committed
switching to modern python except with argument syntax
1 parent 4a583dd commit a11fd50

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)