Skip to content

Commit

Permalink
Merge pull request man-group#159 from tirkarthi/fix-warnings
Browse files Browse the repository at this point in the history
Fix deprecation warnings
  • Loading branch information
jonbannister authored Oct 6, 2021
2 parents b21eef7 + 16d70f5 commit 2929621
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytest-profiling/pytest_profiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def clean_filename(s):
forbidden_chars = set('/?<>\:*|"')
forbidden_chars = set(r'/?<>\:*|"')
return six.text_type("".join(c if c not in forbidden_chars and ord(c) < 127 else '_'
for c in s))

Expand Down
5 changes: 4 additions & 1 deletion pytest-verbose-parametrize/pytest_verbose_parametrize.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable
from six import string_types, text_type


Expand Down

0 comments on commit 2929621

Please sign in to comment.