Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/unit/color/test_module_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
def test_colors():
from arcade import color
names = color.__dict__.keys()
# number of colors + 1 import
assert 1013 + 1 == len(names)
# number of colors + 1 real import + 1 annotations
assert 1013 + 1 + 1 == len(names)
4 changes: 2 additions & 2 deletions tests/unit/color/test_module_csscolor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
def test_csscolors():
from arcade import csscolor
names = csscolor.__dict__.keys()
# number of colors + 1 import
assert 156 + 1 == len(names)
# number of colors + 1 import + 1 annotations
assert 156 + 1 + 1 == len(names)
5 changes: 4 additions & 1 deletion tests/unit/test_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
def test_key():
from arcade import key
names = key.__dict__.keys()
assert 214 == len(names)
# temp fix which will be replaced with fuller, more meaningful
# tests in the coming days. The values are as follows:
# 214 key constants + from __future__ import annotations
assert 215 == len(names)