1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00

Begin to build some python fixtures for imports

This commit is contained in:
Timothy Clem 2018-03-01 10:08:15 -08:00
parent b497ad3199
commit b1b463fb99
5 changed files with 19 additions and 0 deletions

1
.gitignore vendored
View File

@ -15,6 +15,7 @@ bin/
*.hp *.hp
*.prof *.prof
*.pyc
.bundle/ .bundle/
.licenses/vendor/gems .licenses/vendor/gems

5
test/fixtures/python/analysis/a.py vendored Normal file
View File

@ -0,0 +1,5 @@
print("a.py")
def foo(x):
return x

View File

4
test/fixtures/python/analysis/b/c.py vendored Normal file
View File

@ -0,0 +1,4 @@
print("b/c.py")
def baz(x):
return False

9
test/fixtures/python/analysis/main.py vendored Normal file
View File

@ -0,0 +1,9 @@
print("main.py")
import a
import b.c
x = a.foo(1)
print(x)
b.c.baz(1)