niner / inline-python-pm

Inline::Python - Write Perl subs and classes in Python.
https://metacpan.org/release/Inline-Python
20 stars 13 forks source link

Can't access `rss' field in class Proc::ProcessTable::Process at t/35dictunicodememleak.t line 28 #36

Open hakonhagland opened 2 years ago

hakonhagland commented 2 years ago

Trying to run the tests on Windows 11 with Python 3.10, perl 5.32.1:

>gmake test
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- Python.bs blib\arch\auto\Inline\Python\Python.bs 644
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00init.t ................ ok
t/01testpl.t .............. ok
t/02testpl.t .............. ok
t/03parse.t ............... ok
t/04func.t ................ ok
t/05JAxH.t ................ ok
t/06dict.t ................ ok
t/07nherit.t .............. ok
t/08ipyobj.t .............. ok
t/09bind.t ................ ok
t/10pyeval.t .............. ok
t/11factor.t .............. ok
t/12evnodd.t .............. ok
t/13fibbon.t .............. ok
t/14study.t ............... ok
t/15anon.t ................ ok
t/16evalpy.t .............. ok
t/17once.t ................ ok
t/18newclass.t ............ ok
t/19testref.t ............. ok
t/20unicode.t ............. ok
t/21arrayref.t ............ ok
t/22int.t ................. ok
t/23getattr.t ............. ok
t/24getitem.t ............. ok
t/25py_sub.t .............. ok
t/26undef.t ............... ok
t/27pyattrs.t ............. ok
t/28exception.t ........... ok
t/29named_params.t ........ ok
t/30floats.t .............. ok
t/31stringification.t ..... ok
t/32boolean.t ............. ok
t/33reinit.t .............. ok
t/34env.t ................. ok
t/35dictunicodememleak.t .. Can't access `rss' field in class Proc::ProcessTable::Process at t/35dictunicodememleak.t line 28.
# Looks like your test exited with 255 before it could output anything.
t/35dictunicodememleak.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests
t/36utfstring.t ........... ok
t/cmp.t ................... ok

Test Summary Report
-------------------
t/35dictunicodememleak.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
Files=38, Tests=840,  7 wallclock secs ( 0.16 usr +  0.09 sys =  0.25 CPU)
Result: FAIL
Failed 1/38 test programs. 0/840 subtests failed.
gmake: *** [Makefile:1073: test_dynamic] Error 255
hakonhagland commented 2 years ago

Added a possible fix, see #37