Skip to content

Commit b5c9ef0

Browse files
committed
Update parser test files.
1 parent e820164 commit b5c9ef0

40 files changed

+222
-296
lines changed

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport02.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'fromImport02'> SourceSection: [0,28]`from sys.path
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: dirname
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport03.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'fromImport03'> SourceSection: [0,30]`from sys.path
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: dirname
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport04.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'fromImport04'> SourceSection: [0,31]`from sys.path
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: dirname
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport05.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'fromImport05'> SourceSection: [0,42]`from sys.path
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: my_dirname
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport06.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'fromImport06'> SourceSection: [0,44]`from sys.path
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: my_dirname
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport07.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'fromImport07'> SourceSection: [0,45]`from sys.path
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: my_dirname
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport08.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ModuleRootNode Name: <module 'fromImport08'> SourceSection: [0,38]`from sys.path
1919
WriteNameNodeGen SourceSection: None
2020
Identifier: basename
2121
EmptyNode SourceSection: None
22-
LookupAndCallBinaryNodeGen SourceSection: None
23-
Op: __getattribute__
24-
LookupAndCallBinaryNodeGen SourceSection: None
25-
Op: __getattr__
22+
GetAnyAttributeNodeGen SourceSection: None
23+
LookupAndCallBinaryNodeGen SourceSection: None
24+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport09.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ModuleRootNode Name: <module 'fromImport09'> SourceSection: [0,40]`from sys.path
1919
WriteNameNodeGen SourceSection: None
2020
Identifier: basename
2121
EmptyNode SourceSection: None
22-
LookupAndCallBinaryNodeGen SourceSection: None
23-
Op: __getattribute__
24-
LookupAndCallBinaryNodeGen SourceSection: None
25-
Op: __getattr__
22+
GetAnyAttributeNodeGen SourceSection: None
23+
LookupAndCallBinaryNodeGen SourceSection: None
24+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport10.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ModuleRootNode Name: <module 'fromImport10'> SourceSection: [0,41]`from sys.path
1919
WriteNameNodeGen SourceSection: None
2020
Identifier: basename
2121
EmptyNode SourceSection: None
22-
LookupAndCallBinaryNodeGen SourceSection: None
23-
Op: __getattribute__
24-
LookupAndCallBinaryNodeGen SourceSection: None
25-
Op: __getattr__
22+
GetAnyAttributeNodeGen SourceSection: None
23+
LookupAndCallBinaryNodeGen SourceSection: None
24+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport11.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ModuleRootNode Name: <module 'fromImport11'> SourceSection: [0,52]`from sys.path
1919
WriteNameNodeGen SourceSection: None
2020
Identifier: basename
2121
EmptyNode SourceSection: None
22-
LookupAndCallBinaryNodeGen SourceSection: None
23-
Op: __getattribute__
24-
LookupAndCallBinaryNodeGen SourceSection: None
25-
Op: __getattr__
22+
GetAnyAttributeNodeGen SourceSection: None
23+
LookupAndCallBinaryNodeGen SourceSection: None
24+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport13.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ModuleRootNode Name: <module 'fromImport13'> SourceSection: [0,54]`from sys.path
1919
WriteNameNodeGen SourceSection: None
2020
Identifier: basename
2121
EmptyNode SourceSection: None
22-
LookupAndCallBinaryNodeGen SourceSection: None
23-
Op: __getattribute__
24-
LookupAndCallBinaryNodeGen SourceSection: None
25-
Op: __getattr__
22+
GetAnyAttributeNodeGen SourceSection: None
23+
LookupAndCallBinaryNodeGen SourceSection: None
24+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport14.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ModuleRootNode Name: <module 'fromImport14'> SourceSection: [0,55]`from sys.path
1919
WriteNameNodeGen SourceSection: None
2020
Identifier: basename
2121
EmptyNode SourceSection: None
22-
LookupAndCallBinaryNodeGen SourceSection: None
23-
Op: __getattribute__
24-
LookupAndCallBinaryNodeGen SourceSection: None
25-
Op: __getattr__
22+
GetAnyAttributeNodeGen SourceSection: None
23+
LookupAndCallBinaryNodeGen SourceSection: None
24+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport15.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ModuleRootNode Name: <module 'fromImport15'> SourceSection: [0,53]`from sys.path
1919
WriteNameNodeGen SourceSection: None
2020
Identifier: my_basename
2121
EmptyNode SourceSection: None
22-
LookupAndCallBinaryNodeGen SourceSection: None
23-
Op: __getattribute__
24-
LookupAndCallBinaryNodeGen SourceSection: None
25-
Op: __getattr__
22+
GetAnyAttributeNodeGen SourceSection: None
23+
LookupAndCallBinaryNodeGen SourceSection: None
24+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport16.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ModuleRootNode Name: <module 'fromImport16'> SourceSection: [0,55]`from sys.path
1919
WriteNameNodeGen SourceSection: None
2020
Identifier: my_basename
2121
EmptyNode SourceSection: None
22-
LookupAndCallBinaryNodeGen SourceSection: None
23-
Op: __getattribute__
24-
LookupAndCallBinaryNodeGen SourceSection: None
25-
Op: __getattr__
22+
GetAnyAttributeNodeGen SourceSection: None
23+
LookupAndCallBinaryNodeGen SourceSection: None
24+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport17.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ModuleRootNode Name: <module 'fromImport17'> SourceSection: [0,56]`from sys.path
1919
WriteNameNodeGen SourceSection: None
2020
Identifier: my_basename
2121
EmptyNode SourceSection: None
22-
LookupAndCallBinaryNodeGen SourceSection: None
23-
Op: __getattribute__
24-
LookupAndCallBinaryNodeGen SourceSection: None
25-
Op: __getattr__
22+
GetAnyAttributeNodeGen SourceSection: None
23+
LookupAndCallBinaryNodeGen SourceSection: None
24+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImport18.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'fromImport18'> SourceSection: [0,20]`from .bogus i
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: x
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImportInFn02.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ ModuleRootNode Name: <module 'fromImportInFn02'> SourceSection: [0,40]`def fn():
4343
WriteLocalFrameSlotNodeGen SourceSection: None
4444
Frame: [0,dirname,Illegal]
4545
EmptyNode SourceSection: None
46-
LookupAndCallBinaryNodeGen SourceSection: None
47-
Op: __getattribute__
48-
LookupAndCallBinaryNodeGen SourceSection: None
49-
Op: __getattr__
46+
GetAnyAttributeNodeGen SourceSection: None
47+
LookupAndCallBinaryNodeGen SourceSection: None
48+
Op: __getattribute__
5049
Return Expresssion: ReadLocalVariableNode SourceSection: None
5150
Frame: [1,<return_val>,Illegal]
5251
ReadVariableFromFrameNodeGen SourceSection: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImportInFn03.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ ModuleRootNode Name: <module 'fromImportInFn03'> SourceSection: [0,54]`def fn():
4343
WriteLocalFrameSlotNodeGen SourceSection: None
4444
Frame: [0,my_dirname,Illegal]
4545
EmptyNode SourceSection: None
46-
LookupAndCallBinaryNodeGen SourceSection: None
47-
Op: __getattribute__
48-
LookupAndCallBinaryNodeGen SourceSection: None
49-
Op: __getattr__
46+
GetAnyAttributeNodeGen SourceSection: None
47+
LookupAndCallBinaryNodeGen SourceSection: None
48+
Op: __getattribute__
5049
Return Expresssion: ReadLocalVariableNode SourceSection: None
5150
Frame: [1,<return_val>,Illegal]
5251
ReadVariableFromFrameNodeGen SourceSection: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/fromImportInFn04.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ ModuleRootNode Name: <module 'fromImportInFn04'> SourceSection: [0,66]`def fn():
4848
WriteLocalFrameSlotNodeGen SourceSection: None
4949
Frame: [1,basename,Illegal]
5050
EmptyNode SourceSection: None
51-
LookupAndCallBinaryNodeGen SourceSection: None
52-
Op: __getattribute__
53-
LookupAndCallBinaryNodeGen SourceSection: None
54-
Op: __getattr__
51+
GetAnyAttributeNodeGen SourceSection: None
52+
LookupAndCallBinaryNodeGen SourceSection: None
53+
Op: __getattribute__
5554
Return Expresssion: ReadLocalVariableNode SourceSection: None
5655
Frame: [2,<return_val>,Illegal]
5756
ReadVariableFromFrameNodeGen SourceSection: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/relativeImport01.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'relativeImport01'> SourceSection: [0,18]`from . im
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: name
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/relativeImport02.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'relativeImport02'> SourceSection: [0,19]`from .. i
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: name
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/relativeImport03.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'relativeImport03'> SourceSection: [0,20]`from ...
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: name
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/relativeImport04.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'relativeImport04'> SourceSection: [0,21]`from ....
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: name
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/relativeImport05.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'relativeImport05'> SourceSection: [0,21]`from .pkg
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: name
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/relativeImport06.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'relativeImport06'> SourceSection: [0,22]`from ..pk
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: name
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/relativeImport07.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'relativeImport07'> SourceSection: [0,23]`from ...p
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: name
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/goldenFiles/ImportTests/relativeImport08.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ModuleRootNode Name: <module 'relativeImport08'> SourceSection: [0,24]`from ....
1616
WriteNameNodeGen SourceSection: None
1717
Identifier: name
1818
EmptyNode SourceSection: None
19-
LookupAndCallBinaryNodeGen SourceSection: None
20-
Op: __getattribute__
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattr__
19+
GetAnyAttributeNodeGen SourceSection: None
20+
LookupAndCallBinaryNodeGen SourceSection: None
21+
Op: __getattribute__

graalpython/com.oracle.graal.python.test/testData/testFiles/RuntimeFileTests/_collections_abc.tast

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ ModuleRootNode Name: <module '_collections_abc'> SourceSection: [0,26444]`# Copy
1818
WriteNameNodeGen SourceSection: None
1919
Identifier: abstractmethod
2020
EmptyNode SourceSection: None
21-
LookupAndCallBinaryNodeGen SourceSection: None
22-
Op: __getattribute__
23-
LookupAndCallBinaryNodeGen SourceSection: None
24-
Op: __getattr__
21+
GetAnyAttributeNodeGen SourceSection: None
22+
LookupAndCallBinaryNodeGen SourceSection: None
23+
Op: __getattribute__
2524
WriteNameNodeGen SourceSection: [262,265]`sys`
2625
Identifier: sys
2726
ImportExpression SourceSection: None

0 commit comments

Comments
 (0)