Skip to content

Commit

Permalink
Fix Py27 test
Browse files Browse the repository at this point in the history
  • Loading branch information
annatisch committed Jan 25, 2021
1 parent 8cfa5de commit 7d1f742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/core/azure-core/azure/core/_enum_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class MyCustomEnum(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""

def __getitem__(cls, name):
return super().__getitem__(name.upper())
return super(CaseInsensitiveEnumMeta, cls).__getitem__(name.upper())

def __getattr__(cls, name):
"""Return the enum member matching `name`
Expand Down

0 comments on commit 7d1f742

Please sign in to comment.