We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a337ab1 commit 90715c6Copy full SHA for 90715c6
1 file changed
vmprof/test/test_run.py
@@ -45,18 +45,6 @@ def function_bar():
45
bar_full_name = "py:function_bar:%d:%s" % (function_bar.__code__.co_firstlineno,
46
function_bar.__code__.co_filename)
47
48
-def test_win32_issue():
49
- tmpfile = tempfile.NamedTemporaryFile(delete=False)
50
- print("target file", tmpfile.name, tmpfile.fileno())
51
- vmprof.enable(tmpfile.fileno())
52
- function_foo()
53
- vmprof.disable()
54
- tmpfile.close()
55
- with open(tmpfile.name, 'rb') as fd:
56
- print(ord(fd.read(1)))
57
58
- assert b"function_foo" in gzip.GzipFile(tmpfile.name).read()
59
-
60
def test_basic():
61
tmpfile = tempfile.NamedTemporaryFile(delete=False)
62
vmprof.enable(tmpfile.fileno())
0 commit comments