Skip to content

Commit

Permalink
test: fix outdated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Aug 27, 2024
1 parent 51d7615 commit 876fd40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_ARCHS: ${{matrix.cibw_arch}}
CIBW_SKIP: "pp* cp313-*"
CIBW_TEST_SKIP: "*-*linux_aarch64 *-macosx_x86_64 *-win_arm64"
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down
6 changes: 3 additions & 3 deletions tests/test_language.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def test_init_invalid(self):
def test_properties(self):
lang = Language(self.python)
self.assertEqual(lang.version, 14)
self.assertEqual(lang.node_kind_count, 274)
self.assertEqual(lang.parse_state_count, 2831)
self.assertEqual(lang.node_kind_count, 275)
self.assertEqual(lang.parse_state_count, 2795)
self.assertEqual(lang.field_count, 32)

def test_node_kind_for_id(self):
Expand Down Expand Up @@ -76,7 +76,7 @@ def test_eq(self):
self.assertNotEqual(Language(self.rust), Language(self.html))

def test_hash(self):
for name in ["html", "javascript", "json", "python", "rust"]:
for name in ["html", "javascript", "json", "rust"]:
with self.subTest(language=name):
ptr = getattr(self, name)
lang = Language(ptr)
Expand Down

0 comments on commit 876fd40

Please sign in to comment.