diff --git a/pythonforandroid/graph.py b/pythonforandroid/graph.py index 0cb9984b8b..bdaca4349c 100644 --- a/pythonforandroid/graph.py +++ b/pythonforandroid/graph.py @@ -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: diff --git a/tests/test_graph.py b/tests/test_graph.py index 9cc44fc041..f7647bcac7 100644 --- a/tests/test_graph.py +++ b/tests/test_graph.py @@ -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)