man-group / pytest-plugins

A grab-bag of nifty pytest plugins
MIT License
568 stars 85 forks source link

Escape backslash to suppress DeprecationWarning #176

Closed pepoluan closed 2 years ago

pepoluan commented 3 years ago

Python raises DeprecationWarning: invalid escape sequence \:

Since \: are clearly meant to indicate 2 forbidden chars rather than an escape sequence, I escaped the backslash.

pepoluan commented 3 years ago

Travis CI build failed because of this error:

error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

so it's likely not because of my change.

eeaston commented 2 years ago

LGTM - Many thanks for your contribution!

eeaston commented 2 years ago

Ah, I see this was fixed using a raw string in a different PR - closing for now.