diff --git a/tests/test_segment.py b/tests/test_segment.py index 8c9704e6..c3cb222c 100644 --- a/tests/test_segment.py +++ b/tests/test_segment.py @@ -10,16 +10,10 @@ from rich.style import Style def test_repr(): assert repr(Segment("foo")) == "Segment('foo')" home = (ControlType.HOME, 0) - if sys.version_info >= (3, 10): - assert ( - repr(Segment("foo", None, [home])) - == "Segment('foo', None, [(ControlType.HOME, 0)])" - ) - else: - assert ( - repr(Segment("foo", None, [home])) - == "Segment('foo', None, [(, 0)])" - ) + assert ( + repr(Segment("foo", None, [home])) + == "Segment('foo', None, [(, 0)])" + ) def test_line():