-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test project] Add instantiation with alias
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
resources/examples/project1/src/packageWithLambdas/moduleWithStubImport.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from nonexisting import StubClass | ||
|
||
class ClassWithStubSuperclass(StubClass): | ||
pass | ||
|
||
import StubClass | ||
|
||
#This import does not exists but has the name of a stub that exists | ||
print(StubClass) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ | |
print(fwi()) | ||
print(marv) | ||
print(Employee2) | ||
print(Emp("Imen", 37)) |