Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

pypy/module/_io/test/apptest_io.py::test_telling

tempfile = W_UnicodeObject('d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-416\\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           (application-level) AssertionError: assert 4 == 3

module\_io\test\apptest_io.py:287: AssertionError
builder: own-win-x86-64 build #2234
test: pypy/module/_io/test/apptest_io/py/test_telling