Skip to content

Commit

Permalink
Fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
pvcraven committed May 29, 2020
1 parent 0a8cc0d commit 5d1b611
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion arcade/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ def __init__(self,
self.text_list: List[TextLabel] = []
self.textbox_time = 0.0
self.textbox_list: List[TextBox] = []
self.key = None
self.key: Optional[int] = None

def update(self, delta_time: float):
"""To be overridden"""
Expand Down
1 change: 0 additions & 1 deletion tests/unit2/test_texture_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def on_draw(self):
assert actual_color[1] == desired_color[1]
assert actual_color[2] == desired_color[2]


def test_texture_transform():
window = MyGame(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE)
window.setup()
Expand Down

0 comments on commit 5d1b611

Please sign in to comment.