We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
EventPools
1 parent d8eaf55 commit b0cca35Copy full SHA for b0cca35
script/jenkins/test_notebooks.py
@@ -92,7 +92,7 @@ def test_notebook(self):
92
and not ln.startswith('ask_ok(')
93
and not ln.startswith('pool') # by convention Pool objects are called pool
94
and not ln.strip().endswith('?')
95
- and not 'Pool(' in ln # prevent Pool object creation
+ and re.search(r'(\W|^)Pool\(', ln) # prevent Pool object creation
96
])
97
98
# execute the python code
0 commit comments