Skip to content

Commit cd6428d

Browse files
committed
remove unsupported operators
1 parent 13d1105 commit cd6428d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/test_config.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ class EnumTest(enum.Enum):
4646
OPTION_C = OPTION_A | OPTION_B
4747
OPTION_D = OPTION_A & OPTION_B
4848
OPTION_E = OPTION_A ^ OPTION_B
49-
OPTION_F = ~OPTION_A
50-
OPTION_G = ~OPTION_B
5149

5250
class StrEnumTest(enum.StrEnum):
5351
"""A test enum for ConfigEnumType."""
@@ -68,8 +66,6 @@ class IntEnumTest(enum.IntEnum):
6866
OPTION_C = OPTION_A | OPTION_B
6967
OPTION_D = OPTION_A & OPTION_B
7068
OPTION_E = OPTION_A ^ OPTION_B
71-
OPTION_F = ~OPTION_A
72-
OPTION_G = ~OPTION_B
7369

7470
class IntFlagTest(enum.IntFlag):
7571
"""A test enum for ConfigEnumType."""
@@ -79,8 +75,6 @@ class IntFlagTest(enum.IntFlag):
7975
OPTION_C = OPTION_A | OPTION_B
8076
OPTION_D = OPTION_A & OPTION_B
8177
OPTION_E = OPTION_A ^ OPTION_B
82-
OPTION_F = ~OPTION_A
83-
OPTION_G = ~OPTION_B
8478

8579
# Having this class exists, tests the functionality of the Config descriptors.
8680
# This class will create a test.ini file, which tests writing, reading, editing setting config values.

0 commit comments

Comments
 (0)