Skip to content

Commit 90715c6

Browse files
committed
remove recently added test (helped to debug the problem)
1 parent a337ab1 commit 90715c6

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

vmprof/test/test_run.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,6 @@ def function_bar():
4545
bar_full_name = "py:function_bar:%d:%s" % (function_bar.__code__.co_firstlineno,
4646
function_bar.__code__.co_filename)
4747

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-
print(ord(fd.read(1)))
58-
assert b"function_foo" in gzip.GzipFile(tmpfile.name).read()
59-
6048
def test_basic():
6149
tmpfile = tempfile.NamedTemporaryFile(delete=False)
6250
vmprof.enable(tmpfile.fileno())

0 commit comments

Comments
 (0)