diff options
| author | hintofbasil <CuteCondemnedPenguin@shadowmail.co.uk> | 2018-11-16 13:50:56 +0000 |
|---|---|---|
| committer | hintofbasil <CuteCondemnedPenguin@shadowmail.co.uk> | 2018-11-16 13:50:56 +0000 |
| commit | 0edc4591e2e33be3550da5036e603fec8549b7f2 (patch) | |
| tree | cb9b5e358c2768961212a88a250a05025b82f0f8 | |
| parent | 9f95d1d406d99f7db4d44ef70b74178ca1b5bc03 (diff) | |
| download | pystatsd-0edc4591e2e33be3550da5036e603fec8549b7f2.tar.gz | |
Fix regex string escape in tests
| -rw-r--r-- | statsd/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/statsd/tests.py b/statsd/tests.py index 88dde22..12fc410 100644 --- a/statsd/tests.py +++ b/statsd/tests.py @@ -68,7 +68,7 @@ def _timer_check(sock, count, proto, start, end): send = send_method[proto](sock) eq_(send.call_count, count) value = send.call_args[0][0].decode('ascii') - exp = re.compile('^%s:\d+|%s$' % (start, end)) + exp = re.compile(r'^%s:\d+|%s$' % (start, end)) assert exp.match(value) |
