forked from OSchip/llvm-project
[python][tests] Fix string comparison with "is"
This commit is contained in:
parent
e851aeb0a5
commit
0c82fa677f
|
@ -10,7 +10,7 @@ import unittest
|
|||
|
||||
class TestCursorKind(unittest.TestCase):
|
||||
def test_name(self):
|
||||
self.assertTrue(CursorKind.UNEXPOSED_DECL.name is 'UNEXPOSED_DECL')
|
||||
self.assertEqual(CursorKind.UNEXPOSED_DECL.name, 'UNEXPOSED_DECL')
|
||||
|
||||
def test_get_all_kinds(self):
|
||||
kinds = CursorKind.get_all_kinds()
|
||||
|
|
Loading…
Reference in New Issue