temporary very unfinished solution for the *args/**kwargs combination problem, if they are used in common with dynamic params. This doesn't solve the issue entirely, but it's at least a start and will probably solve all autocompletion issues. However, static analysis needs a little bit more than that.

This commit is contained in:
Dave Halter
2014-06-04 17:18:09 +02:00
parent 945888a535
commit acb4959a6a
4 changed files with 61 additions and 12 deletions

View File

@@ -26,12 +26,12 @@ def assert_static_analysis(case, actual, desired):
d = set(desired)
assert actual == desired, """
Test %r failed.
specified, not raised = %s
missing = %s
not raised = %s
unspecified = %s
""" % (case, sorted(d - a), sorted(a - d))
def test_integration(case, monkeypatch):
def test_completion(case, monkeypatch):
if case.skip is not None:
pytest.skip(case.skip)
repo_root = helpers.root_dir