[clang] [libclang/python] Refactor enum usage (PR #95608)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 1 05:29:37 PDT 2024


================
@@ -10,26 +10,6 @@
 
 
 class TestTokenKind(unittest.TestCase):
-    def test_constructor(self):
----------------
Endilll wrote:

> test_constructor: this tests the ability to add enum variants "on the fly", which is not possible with the Python stdlib's Enum class

Do we have a test that this is not possible anymore?

https://github.com/llvm/llvm-project/pull/95608


More information about the cfe-commits mailing list