Skip to content

Commit

Permalink
Fix for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Sep 17, 2024
1 parent e2a9d2d commit 7bdc814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robotframework_reportportal/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"""This module contains functions to ease reporting to ReportPortal."""

import re
from typing import Iterable
from typing import Iterable, Tuple


def replace_patterns(text: str, patterns: Iterable[tuple[re.Pattern, str]]) -> str:
def replace_patterns(text: str, patterns: Iterable[Tuple[re.Pattern, str]]) -> str:
"""Removes starting patterns from the text."""
result = text
for p, repl in patterns:
Expand Down

0 comments on commit 7bdc814

Please sign in to comment.