Skip to content

test_Class_params fails in the released 0.10.0 version #355

Closed
@catern

Description

@catern

Expected Behavior

All tests pass - they were run as part of this package update: NixOS/nixpkgs#135261

Actual Behavior

test_Class_params fails with

======================================================================
FAIL: test_Class_params (pdoc.test.ApiTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/pdoc3-0.10.0/pdoc/test/__init__.py", line 100, in wrapper
    func(*args, **kwargs)
  File "/build/pdoc3-0.10.0/pdoc/test/__init__.py", line 1055, in test_Class_params
    self.assertEqual(pdoc.Class('G2', mod, G2).params(), ['*args', '**kwds'])
AssertionError: Lists differ: [] != ['*args', '**kwds']

Second list contains 2 additional elements.
First extra element 0:
'*args'

- []
+ ['*args', '**kwds']

Steps to Reproduce

Run the tests on version 0.10.0 on PyPI. We're doing through python setup.py test.

Additional info

  • pdoc version: 0.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions