From 7f7a8bb4e2b65e55995a25b3304a621d001f815d Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Fri, 26 Apr 2024 22:00:18 -0400 Subject: [PATCH 1/2] debugging weird CI failures --- tests/integration/test_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_cli.py b/tests/integration/test_cli.py index d8c968b50..7ea05b7ef 100644 --- a/tests/integration/test_cli.py +++ b/tests/integration/test_cli.py @@ -132,9 +132,9 @@ def test_pipenv_graph_reverse(pipenv_instance_private_pypi): assert openpyxl_dep is None, f'openpyxl should not appear at beginning of lines in {output}' if sys.version_info[:2] == (3, 12): - assert 'openpyxl==2.5.4 [requires: et-xmlfile]' in output - else: assert 'openpyxl==2.5.4 [requires: et_xmlfile]' in output + else: + assert 'openpyxl==2.5.4 [requires: et-xmlfile]' in output else: dep_match = re.search(fr'^[ -]*{dep_name}==[\d.]+$', output, From 27765a0f11215bce74fc5583349240f53ccb2053 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Fri, 26 Apr 2024 22:07:28 -0400 Subject: [PATCH 2/2] debugging weird CI failures --- tests/integration/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_cli.py b/tests/integration/test_cli.py index 7ea05b7ef..06bc1ade9 100644 --- a/tests/integration/test_cli.py +++ b/tests/integration/test_cli.py @@ -100,7 +100,7 @@ def test_pipenv_graph_reverse(pipenv_instance_private_pypi): from pipenv.cli import cli from pipenv.vendor.click.testing import CliRunner # not thread safe but graph is a tricky test - with (pipenv_instance_private_pypi() as p): + with pipenv_instance_private_pypi() as p: c = p.pipenv('install tablib==0.13.0') assert c.returncode == 0 cli_runner = CliRunner(mix_stderr=False)