1 https://github.com/PyCQA/flake8-polyfill/commit/3cf414350e82ceb835ca2edbd5d5967d33e9ff35.patch
4 From 3cf414350e82ceb835ca2edbd5d5967d33e9ff35 Mon Sep 17 00:00:00 2001
5 From: Ian Stapleton Cordasco <graffatcolmingov@gmail.com>
6 Date: Mon, 1 Nov 2021 19:18:04 -0500
7 Subject: [PATCH] Skip unnecessary tests on Flake8 4.x+
10 tests/test_stdin.py | 4 ++++
11 1 file changed, 4 insertions(+)
13 diff --git a/tests/test_stdin.py b/tests/test_stdin.py
14 index 4350967..212b309 100644
15 --- a/tests/test_stdin.py
16 +++ b/tests/test_stdin.py
18 """Tests for polyfill's stdin monkey patching."""
24 from flake8_polyfill import stdin
25 from flake8_polyfill import version
27 +if (4, 0, 0) <= flake8.__version_info__:
28 + pytestmark = pytest.mark.skip
31 def test_modules_dict():
32 """Verify that it works the way we expect."""