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

rlib/test/test_rzipfile.py::TestRZipFileCompressed::()::test_rzipfile

self = <rpython.rlib.test.test_rzipfile.TestRZipFileCompressed object at 0x0000018de8ad7638>

    def test_rzipfile(self):
        zipname = self.zipname
        year = self.year
        compression = self.compression
        def one():
            rzip = RZipFile(zipname, "r", compression)
            info = rzip.getinfo('one')
            return (info.date_time[0] == year and
                    rzip.read('one') == 'stuff\n' and
                    rzip.read('three') == 'hello, world')
    
        assert one()
>       assert self.interpret(one, [])

rlib\test\test_rzipfile.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rtyper\test\tool.py:16: in interpret
    return interpret(fn, args, **kwds)
rtyper\test\test_llinterp.py:102: in interpret
    result = interp.eval_graph(graph, values)
rtyper\llinterp.py:102: in eval_graph
    retval = llframe.eval()
rtyper\llinterp.py:300: in eval
    nextblock, args = self.eval_block(nextblock)
rtyper\llinterp.py:329: in eval_block
    rstackovf.check_stack_overflow()
rtyper\llinterp.py:324: in eval_block
    self.eval_operation(op)
rtyper\llinterp.py:427: in eval_operation
    retval = ophandler(*vals)
rtyper\llinterp.py:702: in op_direct_call
    return self.perform_call(f, FTYPE.ARGS, args)
rtyper\llinterp.py:698: in perform_call
    return frame.eval()
rtyper\llinterp.py:300: in eval
    nextblock, args = self.eval_block(nextblock)
rtyper\llinterp.py:329: in eval_block
    rstackovf.check_stack_overflow()
rtyper\llinterp.py:324: in eval_block
    self.eval_operation(op)
rtyper\llinterp.py:427: in eval_operation
    retval = ophandler(*vals)
rtyper\llinterp.py:702: in op_direct_call
    return self.perform_call(f, FTYPE.ARGS, args)
rtyper\llinterp.py:698: in perform_call
    return frame.eval()
rtyper\llinterp.py:300: in eval
    nextblock, args = self.eval_block(nextblock)
rtyper\llinterp.py:329: in eval_block
    rstackovf.check_stack_overflow()
rtyper\llinterp.py:324: in eval_block
    self.eval_operation(op)
rtyper\llinterp.py:427: in eval_operation
    retval = ophandler(*vals)
rtyper\llinterp.py:702: in op_direct_call
    return self.perform_call(f, FTYPE.ARGS, args)
rtyper\llinterp.py:698: in perform_call
    return frame.eval()
rtyper\llinterp.py:300: in eval
    nextblock, args = self.eval_block(nextblock)
rtyper\llinterp.py:329: in eval_block
    rstackovf.check_stack_overflow()
rtyper\llinterp.py:324: in eval_block
    self.eval_operation(op)
rtyper\llinterp.py:427: in eval_operation
    retval = ophandler(*vals)
rtyper\llinterp.py:714: in op_indirect_call
    return self.op_direct_call(f, *args)
rtyper\llinterp.py:702: in op_direct_call
    return self.perform_call(f, FTYPE.ARGS, args)
rtyper\llinterp.py:698: in perform_call
    return frame.eval()
rtyper\llinterp.py:300: in eval
    nextblock, args = self.eval_block(nextblock)
rtyper\llinterp.py:329: in eval_block
    rstackovf.check_stack_overflow()
rtyper\llinterp.py:324: in eval_block
    self.eval_operation(op)
rtyper\llinterp.py:427: in eval_operation
    retval = ophandler(*vals)
rtyper\llinterp.py:714: in op_indirect_call
    return self.op_direct_call(f, *args)
rtyper\llinterp.py:702: in op_direct_call
    return self.perform_call(f, FTYPE.ARGS, args)
rtyper\llinterp.py:698: in perform_call
    return frame.eval()
rtyper\llinterp.py:300: in eval
    nextblock, args = self.eval_block(nextblock)
rtyper\llinterp.py:329: in eval_block
    rstackovf.check_stack_overflow()
rtyper\llinterp.py:324: in eval_block
    self.eval_operation(op)
rtyper\llinterp.py:427: in eval_operation
    retval = ophandler(*vals)
rtyper\llinterp.py:702: in op_direct_call
    return self.perform_call(f, FTYPE.ARGS, args)
rtyper\llinterp.py:698: in perform_call
    return frame.eval()
rtyper\llinterp.py:300: in eval
    nextblock, args = self.eval_block(nextblock)
rtyper\llinterp.py:329: in eval_block
    rstackovf.check_stack_overflow()
rtyper\llinterp.py:324: in eval_block
    self.eval_operation(op)
rtyper\llinterp.py:427: in eval_operation
    retval = ophandler(*vals)
rtyper\llinterp.py:702: in op_direct_call
    return self.perform_call(f, FTYPE.ARGS, args)
rtyper\llinterp.py:698: in perform_call
    return frame.eval()
rtyper\llinterp.py:300: in eval
    nextblock, args = self.eval_block(nextblock)
rtyper\llinterp.py:329: in eval_block
    rstackovf.check_stack_overflow()
rtyper\llinterp.py:324: in eval_block
    self.eval_operation(op)
rtyper\llinterp.py:427: in eval_operation
    retval = ophandler(*vals)
rtyper\llinterp.py:702: in op_direct_call
    return self.perform_call(f, FTYPE.ARGS, args)
rtyper\llinterp.py:698: in perform_call
    return frame.eval()
rtyper\llinterp.py:300: in eval
    nextblock, args = self.eval_block(nextblock)
rtyper\llinterp.py:329: in eval_block
    rstackovf.check_stack_overflow()
rtyper\llinterp.py:324: in eval_block
    self.eval_operation(op)
rtyper\llinterp.py:427: in eval_operation
    retval = ophandler(*vals)
rtyper\llinterp.py:702: in op_direct_call
    return self.perform_call(f, FTYPE.ARGS, args)
rtyper\llinterp.py:698: in perform_call
    return frame.eval()
rtyper\llinterp.py:300: in eval
    nextblock, args = self.eval_block(nextblock)
rtyper\llinterp.py:329: in eval_block
    rstackovf.check_stack_overflow()
rtyper\llinterp.py:324: in eval_block
    self.eval_operation(op)
rtyper\llinterp.py:427: in eval_operation
    retval = ophandler(*vals)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <rpython.rtyper.llinterp.LLFrame object at 0x0000018dee6a54e8>, obj = 11

    def op_gc_get_stats(self, obj):
>       raise NotImplementedError("gc_get_stats")
E       NotImplementedError: gc_get_stats

rtyper\llinterp.py:764: NotImplementedError
---------- Captured stderr call ----------
[platform:msg] Updated environment with vsver 160, using x64 True
[rtyper] specializing: 200 / 3389 blocks   (5%)
[rtyper] specializing: 400 / 3741 blocks   (10%)
[rtyper] specializing: 700 / 4062 blocks   (17%)
[rtyper] specializing: 900 / 4062 blocks   (22%)
[rtyper] specializing: 1200 / 4075 blocks   (29%)
[rtyper] specializing: 1400 / 4075 blocks   (34%)
[rtyper] specializing: 1700 / 4326 blocks   (39%)
[rtyper] specializing: 2000 / 4349 blocks   (45%)
[rtyper] specializing: 2200 / 4353 blocks   (50%)
[rtyper] specializing: 2300 / 4353 blocks   (52%)
[rtyper] specializing: 2500 / 4353 blocks   (57%)
[rtyper] specializing: 2700 / 4353 blocks   (62%)
[rtyper] specializing: 3000 / 4353 blocks   (68%)
[rtyper] specializing: 3200 / 4353 blocks   (73%)
[rtyper] specializing: 3400 / 4353 blocks   (78%)
[rtyper] specializing: 3800 / 4465 blocks   (85%)
[rtyper] specializing: 4100 / 4465 blocks   (91%)
[rtyper] specializing: 4300 / 4470 blocks   (96%)
[rtyper] specializing: 4400 / 4474 blocks   (98%)
[rtyper] -=- specialized 4474 blocks -=-
[rtyper] -=- specialized 4 more blocks -=-
 (somefailed=True in rlib/test/test_rzipfile.py)
builder: rpython-win-x86-64 build #772*
test: rlib/test/test_rzipfile.py::TestRZipFileCompressed::()::test_rzipfile