Skip to content

Commit b0cca35

Browse files
notebook_test: don't fail on EventPools
1 parent d8eaf55 commit b0cca35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/jenkins/test_notebooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def test_notebook(self):
9292
and not ln.startswith('ask_ok(')
9393
and not ln.startswith('pool') # by convention Pool objects are called pool
9494
and not ln.strip().endswith('?')
95-
and not 'Pool(' in ln # prevent Pool object creation
95+
and re.search(r'(\W|^)Pool\(', ln) # prevent Pool object creation
9696
])
9797

9898
# execute the python code

0 commit comments

Comments
 (0)