From 904c4d04bb952ea6a223a4a99795e6398a194a16 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 15 May 2019 22:20:57 +0200 Subject: [PATCH] Make sure Python is still loadable in mixed stub/python folders --- .../completion/stub_folder/with_stub_folder/python_only.py | 1 + test/completion/stubs.py | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 test/completion/stub_folder/with_stub_folder/python_only.py diff --git a/test/completion/stub_folder/with_stub_folder/python_only.py b/test/completion/stub_folder/with_stub_folder/python_only.py new file mode 100644 index 00000000..23370e0c --- /dev/null +++ b/test/completion/stub_folder/with_stub_folder/python_only.py @@ -0,0 +1 @@ +in_python = '' diff --git a/test/completion/stubs.py b/test/completion/stubs.py index 61b9c21e..61137e9a 100644 --- a/test/completion/stubs.py +++ b/test/completion/stubs.py @@ -25,13 +25,16 @@ with_stub_folder.in_with_stub_stub_folder # Folders nested -from stub_folder.with_stub_folder import nested_stub_only, nested_with_stub +from stub_folder.with_stub_folder import nested_stub_only, nested_with_stub, \ + python_only #? int() nested_stub_only.in_stub_only #? float() nested_with_stub.in_both #? -with_stub_folder.in_python +nested_with_stub.in_python #? int() nested_with_stub.in_stub +#? str() +python_only.in_python