summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-13 14:17:38 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-13 15:36:05 +0200
commit62019dd9d1117ca5e37dcf7739ce2c04ffea31b8 (patch)
treef764b448821bafd7e190b95b559021f523d488cf /dev-python/isort
parentdev-lang/lua: drop 5.1.5-r109, 5.3.6-r5, 5.4.4-r2 (diff)
downloadgentoo-62019dd9d1117ca5e37dcf7739ce2c04ffea31b8.tar.gz
gentoo-62019dd9d1117ca5e37dcf7739ce2c04ffea31b8.tar.bz2
gentoo-62019dd9d1117ca5e37dcf7739ce2c04ffea31b8.zip
dev-python/isort: Remove obsolete toml import from test suite
Upstream seems to have forgotten to update import in the test suite. Closes: https://bugs.gentoo.org/876927 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/isort')
-rw-r--r--dev-python/isort/isort-5.10.1-r2.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/isort/isort-5.10.1-r2.ebuild b/dev-python/isort/isort-5.10.1-r2.ebuild
index 7f3956652c3b..044836d9d895 100644
--- a/dev-python/isort/isort-5.10.1-r2.ebuild
+++ b/dev-python/isort/isort-5.10.1-r2.ebuild
@@ -46,6 +46,8 @@ src_prepare() {
# remove upper bounds from example plugin deps
# (already removed upstream)
sed -i -e 's:\^:>=:' example*/pyproject.toml || die
+ # leftover toml import used to determine .toml support
+ sed -i -e 's:import toml:toml = True:' tests/unit/test_isort.py || die
distutils-r1_src_prepare
}