Skip to content

Commit

Permalink
Fixes some E275 - assert is a keyword. (#2647)
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 authored Jul 31, 2022
1 parent c77e07d commit 36b17aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pythonforandroid/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_dependency_tuple_list_for_recipe(recipe, blacklist=None):
"""
if blacklist is None:
blacklist = set()
assert(type(blacklist) == set)
assert type(blacklist) == set
if recipe.depends is None:
dependencies = []
else:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_get_dependency_tuple_list_for_recipe(monkeypatch):
dep_list = get_dependency_tuple_list_for_recipe(
r, blacklist={"libffi"}
)
assert(dep_list == [("pillow",)])
assert dep_list == [("pillow",)]


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

0 comments on commit 36b17aa

Please sign in to comment.