mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-140766: [Enum] add show_flag_values and bin to enum.__all__ (GH-140765)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
95a3564869
commit
e4deefbb2f
3 changed files with 4 additions and 2 deletions
|
|
@ -5324,7 +5324,7 @@ def __new__(cls, value, label):
|
|||
class MiscTestCase(unittest.TestCase):
|
||||
|
||||
def test__all__(self):
|
||||
support.check__all__(self, enum, not_exported={'bin', 'show_flag_values'})
|
||||
support.check__all__(self, enum)
|
||||
|
||||
@cpython_only
|
||||
def test_lazy_import(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue