Fix namedtuple docstring/signature issues, fixes #1506

This commit is contained in:
Dave Halter
2020-03-10 20:07:10 +01:00
parent 8df917f1df
commit d574162da3
3 changed files with 4 additions and 2 deletions

View File

@@ -77,6 +77,7 @@ def test_namedtuple_infer(Script):
assert d1.get_line_code() == "class Foo(tuple):\n"
assert d1.module_path is None
assert d1.docstring() == 'Foo(id, timestamp, gps_timestamp, attributes)'
def test_re_sub(Script, environment):