From b044de879ba34e5e25e865328502d69efd0515ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Sat, 11 Sep 2021 08:24:40 +0200 Subject: [PATCH] add a failing test --- tests/features/versioned_branches_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/features/versioned_branches_test.py b/tests/features/versioned_branches_test.py index b80e99e8..2a3bda47 100644 --- a/tests/features/versioned_branches_test.py +++ b/tests/features/versioned_branches_test.py @@ -592,6 +592,12 @@ def test_fix_py3x_only_code(s, expected): ' 3-6\n' 'else:\n' ' 3+7\n', + + 'import sys\n' + 'if sys.version_info > (3, 6):\n' + ' 3+7\n' + 'else:\n' + ' 3-6\n', ), ) def test_fix_py3x_only_noop(s):