Skip to content

Commit 2e87075

Browse files
authored
Remove fLOG (#9)
1 parent 0b4b2d3 commit 2e87075

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

_unittests/ut_blocdefs/test_mathdef_extension.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_mathdef(self):
5252
]
5353

5454
html = rst2html(
55-
content, # fLOG=fLOG,
55+
content,
5656
writer="custom",
5757
keep_warnings=True,
5858
directives=tives,
@@ -104,9 +104,7 @@ def test_mathdeflist(self):
104104
("mathdef", MathDef, mathdef_node, visit_mathdef_node, depart_mathdef_node)
105105
]
106106

107-
html = rst2html(
108-
content, writer="custom", keep_warnings=True, directives=tives # fLOG=fLOG,
109-
)
107+
html = rst2html(content, writer="custom", keep_warnings=True, directives=tives)
110108

111109
temp = get_temp_folder(__file__, "temp_mathdef", clean=False)
112110
with open(
@@ -156,9 +154,7 @@ def test_mathdeflist_contents(self):
156154
("mathdef", MathDef, mathdef_node, visit_mathdef_node, depart_mathdef_node)
157155
]
158156

159-
html = rst2html(
160-
content, writer="custom", keep_warnings=True, directives=tives # fLOG=fLOG,
161-
)
157+
html = rst2html(content, writer="custom", keep_warnings=True, directives=tives)
162158

163159
temp = get_temp_folder(__file__, "temp_mathdef", clean=False)
164160
with open(
@@ -222,15 +218,15 @@ def test_mathdeflist_contents_body_sphinx(self):
222218
]
223219

224220
html = rst2html(
225-
content, # fLOG=fLOG,
221+
content,
226222
writer="custom",
227223
keep_warnings=True,
228224
directives=tives,
229225
layout="sphinx",
230226
)
231227

232228
body = rst2html(
233-
content, # fLOG=fLOG,
229+
content,
234230
writer="custom",
235231
keep_warnings=True,
236232
directives=tives,

sphinx_runpython/gdot/sphinx_gdot_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def copy_js_files(app):
380380
if os.path.exists(file_dest):
381381
logger.info("[gdot] %r already installed.", file_dest)
382382
else:
383-
download_requirejs(destf, fLOG=lambda *args, **kwargs: None)
383+
download_requirejs(destf)
384384

385385
if os.path.exists(file_dest):
386386
# It adds <script async="defer" src="_static/require.js"></script>

0 commit comments

Comments
 (0)