Skip to content

Commit b48204f

Browse files
committed
✅ Fix test_get_dep_names_of_package
Recent pythonf-for-android release added setuptools to install_requires. Pinning to previous release fixes to test. The error was: ``` def test_get_dep_names_of_package(): # TEST 1 from external ref: # Check that colorama is returned without the install condition when # just getting the names (it has a "; ..." conditional originally): dep_names = get_dep_names_of_package("python-for-android") assert "colorama" in dep_names > assert "setuptools" not in dep_names E AssertionError: assert 'setuptools' not in {'Jinja2', 'appdirs', 'build', 'colorama', 'packaging', 'setuptools', ...} tests/test_pythonpackage_basic.py:90: AssertionError ```
1 parent b3cc034 commit b48204f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pythonpackage_basic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_get_dep_names_of_package():
8585
# TEST 1 from external ref:
8686
# Check that colorama is returned without the install condition when
8787
# just getting the names (it has a "; ..." conditional originally):
88-
dep_names = get_dep_names_of_package("python-for-android")
88+
dep_names = get_dep_names_of_package("python-for-android==2023.9.16")
8989
assert "colorama" in dep_names
9090
assert "setuptools" not in dep_names
9191
try:

0 commit comments

Comments
 (0)