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.
1 parent ddfb486 commit 3a18bb0Copy full SHA for 3a18bb0
script/jenkins/test_notebooks.py
@@ -92,13 +92,14 @@ def test_notebook(nb, name):
92
re.sub(r"pool=\w+", "pool=None", ln)
93
for ln in c["source"].split("\n")
94
if not ln.startswith("%")
95
+ and not ln.startswith("?")
96
+ and not ln.strip().endswith("?")
97
and not ln.startswith("help(")
98
and not ln.startswith("ask_ok(")
99
100
and not ln.startswith(
101
"pool"
102
) # by convention Pool objects are called pool
- and not ln.strip().endswith("?")
103
and not re.search(
104
r"(\W|^)Pool\(", ln
105
) # prevent Pool object creation
0 commit comments