Skip to content

Commit fec36a9

Browse files
Copilotxadupre
andauthored
initial plan for code coverage extension
Agent-Logs-Url: https://github.com/sdpython/sphinx-runpython/sessions/5f7ddf50-ca98-4180-bfc7-e949b3b79b24 Co-authored-by: xadupre <22452781+xadupre@users.noreply.github.com>
1 parent 0fbb3f2 commit fec36a9

4 files changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# coding: utf-8
2+
import sys
3+
if True:
4+
__WD__ = '/tmp/tmpy27zb4vh'
5+
import math
6+
import inspect
7+
8+
def fctfct():
9+
return math.pi
10+
11+
code = inspect.getsource(fctfct)
12+
print("***********")
13+
print(code)
14+
print("***********")

test_export1.pdf

811 KB
Binary file not shown.

test_export2.pdf

811 KB
Binary file not shown.

test_export_zoom.pdf

199 KB
Binary file not shown.

0 commit comments

Comments
 (0)