From 96c16bfb8533cf16a6e57c95e3b1c8ab998305a2 Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 4 Feb 2019 12:56:53 +0100 Subject: [PATCH] missing escape in normalize_timestamp --- jupyterhub/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/tests/test_api.py b/jupyterhub/tests/test_api.py index 444ff563..3ab07a1f 100644 --- a/jupyterhub/tests/test_api.py +++ b/jupyterhub/tests/test_api.py @@ -113,7 +113,7 @@ def normalize_timestamp(ts): """ if ts is None: return - return re.sub('\d(\.\d+)?', '0', ts) + return re.sub(r'\d(\.\d+)?', '0', ts) def normalize_user(user):