File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Python / doc := (Python / doc / target).toTask.dependsOn(
99 Def .sequential(
1010 assembly,
1111 Test / compile,
12- pySetup.toTask(" pweave" )
12+ pySetup.toTask(" pweave --quick True " )
1313 )
1414).value
1515
Original file line number Diff line number Diff line change @@ -72,16 +72,19 @@ def test_display_extension(self):
7272 ip = globalipapp .get_ipython ()
7373
7474 num_rows = 2
75- row_count = 0
7675
77- def counter (data , _ ):
78- nonlocal row_count
79- row_count = data .count ('<tr>' )
76+ result = {}
77+
78+ def counter (data , md ):
79+ nonlocal result
80+ result ['payload' ] = (data , md )
81+ result ['row_count' ] = data .count ('<tr>' )
8082 ip .mime_renderers ['text/html' ] = counter
8183
8284 # ip.mime_renderers['text/markdown'] = lambda a, b: print(a, b)
8385
8486 self .df .display (num_rows = num_rows )
8587
8688 # Plus one for the header row.
87- self .assertIs (row_count , num_rows + 1 )
89+ self .assertIs (result ['row_count' ], num_rows + 1 , msg = f"Received: { result ['payload' ]} " )
90+
You can’t perform that action at this time.
0 commit comments