From 34c6da4c2cbdfd5572fc4711d3ee628bf80eba72 Mon Sep 17 00:00:00 2001 From: David Hotham Date: Sun, 22 May 2022 11:42:12 +0100 Subject: [PATCH] remove unused backwards-compatibility fixes --- tests/console/commands/test_search.py | 3 --- tests/installation/test_installer.py | 7 ------- tests/installation/test_installer_old.py | 7 ------- 3 files changed, 17 deletions(-) diff --git a/tests/console/commands/test_search.py b/tests/console/commands/test_search.py index 185717df425..f41021f15df 100644 --- a/tests/console/commands/test_search.py +++ b/tests/console/commands/test_search.py @@ -96,9 +96,6 @@ def test_search(tester: CommandTester, http: type[httpretty.httpretty]): SAP Sybase SQL Anywhere dialect for SQLAlchemy """ - # TODO remove this when https://github.com/python-poetry/poetry-core/pull/328 - # reaches a published version of poetry-core. output = tester.io.fetch_output() - output = output.replace("transmogrify.sqlalchemy", "transmogrify-sqlalchemy") assert output == expected diff --git a/tests/installation/test_installer.py b/tests/installation/test_installer.py index 8d49a4faaf0..a153fa9386f 100644 --- a/tests/installation/test_installer.py +++ b/tests/installation/test_installer.py @@ -1169,13 +1169,6 @@ def test_installer_with_pypi_repository( expected = fixture("with-pypi-repository") - # TODO remove this when https://github.com/python-poetry/poetry-core/pull/328 - # reaches a published version of poetry-core. - extras = locker.written_data["package"][0]["extras"] - for key, values in list(extras.items()): - extras[key] = [ - value.replace("zope.interface", "zope-interface") for value in values - ] assert not DeepDiff(expected, locker.written_data, ignore_order=True) diff --git a/tests/installation/test_installer_old.py b/tests/installation/test_installer_old.py index abf32b9b40a..599a8cd3c25 100644 --- a/tests/installation/test_installer_old.py +++ b/tests/installation/test_installer_old.py @@ -833,13 +833,6 @@ def test_installer_with_pypi_repository( expected = fixture("with-pypi-repository") - # TODO remove this when https://github.com/python-poetry/poetry-core/pull/328 - # reaches a published version of poetry-core. - extras = locker.written_data["package"][0]["extras"] - for key, values in list(extras.items()): - extras[key] = [ - value.replace("zope.interface", "zope-interface") for value in values - ] assert not DeepDiff(expected, locker.written_data, ignore_order=True)