pypy.module._io.test.apptest_io:test_telling
tempfile = 'D:\\SystemTemp\\pytest-of-matti\\pytest-1038\\test_telling0\\tempfile'
def test_telling(tempfile):
with _io.open(tempfile, "w+", encoding="utf8") as f:
p0 = f.tell()
f.write("\xff\n")
p1 = f.tell()
f.write("\xff\n")
p2 = f.tell()
f.seek(0)
assert p0 == 0
> assert p1 == 3
E assert 4 == 3
..\build\pypy\module\_io\test\apptest_io.py:287: AssertionError
builder: pypy-c-jit-win-x86-64 build #2361
test: pypy/module/_io/test/apptest_io:test_telling