summaryrefslogtreecommitdiff
path: root/dev-python/autopep8/files/autopep8-1.6.0-lib2to3-deprecation-pytest.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-17 02:06:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-17 02:06:14 +0000
commit5987fa693ef880163ebde423615a177cb5bda20e (patch)
tree643ae0ed032ef417c538f8d04da516b9c2fa2a7d /dev-python/autopep8/files/autopep8-1.6.0-lib2to3-deprecation-pytest.patch
parent41e056b08e4c5c8d6e78407a5586afa52867fd5f (diff)
gentoo auto-resync : 17:02:2023 - 02:06:14
Diffstat (limited to 'dev-python/autopep8/files/autopep8-1.6.0-lib2to3-deprecation-pytest.patch')
-rw-r--r--dev-python/autopep8/files/autopep8-1.6.0-lib2to3-deprecation-pytest.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/dev-python/autopep8/files/autopep8-1.6.0-lib2to3-deprecation-pytest.patch b/dev-python/autopep8/files/autopep8-1.6.0-lib2to3-deprecation-pytest.patch
deleted file mode 100644
index 9aadf2758c0c..000000000000
--- a/dev-python/autopep8/files/autopep8-1.6.0-lib2to3-deprecation-pytest.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- a/test/test_autopep8.py 2022-07-01 16:53:14.197393816 +0300
-+++ b/test/test_autopep8.py 2022-07-01 17:26:07.740358186 +0300
-@@ -5729,7 +5729,11 @@
- list(AUTOPEP8_CMD_TUPLE) + [filename, '--in-place'],
- stderr=PIPE,
- )
-- _, err = p.communicate()
-+ _, error = p.communicate()
-+ if b'DeprecationWarning: lib2to3 package is deprecated' in error:
-+ err = bytes()
-+ else:
-+ err = error
- self.assertEqual(err, b'')
- self.assertEqual(p.returncode, autopep8.EXIT_CODE_OK)
-
-@@ -5741,7 +5745,11 @@
- list(AUTOPEP8_CMD_TUPLE) + [filename, '--in-place'],
- stderr=PIPE,
- )
-- _, err = p.communicate()
-+ _, error = p.communicate()
-+ if b'DeprecationWarning: lib2to3 package is deprecated' in error:
-+ err = bytes()
-+ else:
-+ err = error
- self.assertEqual(err, b'')
- self.assertEqual(p.returncode, autopep8.EXIT_CODE_OK)
-