mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 22:05:39 +02:00
fix(python): fix invalid escape sequences
This commit is contained in:

committed by
Chris Thrasher

parent
04cbcfa1d1
commit
ceed26842b
@@ -21,11 +21,11 @@ import os
|
||||
import re
|
||||
|
||||
def normalized_path(path):
|
||||
"""Replaces \ in paths on Windows with /"""
|
||||
r"""Replaces \ in paths on Windows with /"""
|
||||
return path.replace('\\', '/')
|
||||
|
||||
def normalized_paths(paths):
|
||||
"""Replaces \ with / in every path"""
|
||||
r"""Replaces \ with / in every path"""
|
||||
return [normalized_path(path) for path in paths]
|
||||
|
||||
source_path = catchPath + '/src/catch2'
|
||||
|
Reference in New Issue
Block a user