Skip to content

Commit 36b17aa

Browse files
authored
Fixes some E275 - assert is a keyword. (kivy#2647)
1 parent c77e07d commit 36b17aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pythonforandroid/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_dependency_tuple_list_for_recipe(recipe, blacklist=None):
4545
"""
4646
if blacklist is None:
4747
blacklist = set()
48-
assert(type(blacklist) == set)
48+
assert type(blacklist) == set
4949
if recipe.depends is None:
5050
dependencies = []
5151
else:

tests/test_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def test_get_dependency_tuple_list_for_recipe(monkeypatch):
115115
dep_list = get_dependency_tuple_list_for_recipe(
116116
r, blacklist={"libffi"}
117117
)
118-
assert(dep_list == [("pillow",)])
118+
assert dep_list == [("pillow",)]
119119

120120

121121
@pytest.mark.parametrize('names,bootstrap', valid_combinations)

0 commit comments

Comments
 (0)