From 9ab90bd8355c4f2b30fd43159d45252865289954 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Fri, 8 Jan 2016 19:45:36 +0100 Subject: [PATCH] fix regex --- notebook/tests/test_notebookapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/tests/test_notebookapp.py b/notebook/tests/test_notebookapp.py index d74857d04..18716c797 100644 --- a/notebook/tests/test_notebookapp.py +++ b/notebook/tests/test_notebookapp.py @@ -101,7 +101,7 @@ def test_pep440_version(): -pep440re = re.compile('^(\d+)\.(\d+)\.(\d+((a|b|rc)\d+)?)(\.post\d+)?(\.dev\d+)?$') +pep440re = re.compile('^(\d+)\.(\d+)\.(\d+((a|b|rc)\d+)?)(\.post\d+)?(\.dev\d*)?$') def raise_on_bad_version(version): if not pep440re.match(version):