[python][tests] Fix string comparison with "is"

This commit is contained in:
Paweł Bylica 2020-09-28 20:47:43 +02:00
parent e851aeb0a5
commit 0c82fa677f
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 1 additions and 1 deletions

View File

@ -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()