Skip to content

Commit 5df57d7

Browse files
committed
Do not set __doc__ attribute if there is no doc string (enables test_docstring)
1 parent 316255e commit 5df57d7

File tree

217 files changed

+808
-813
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+808
-813
lines changed

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_fstring.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*graalpython.lib-python.3.test.test_fstring.TestCase.test__format__lookup
2+
*graalpython.lib-python.3.test.test_fstring.TestCase.test_docstring
23
*graalpython.lib-python.3.test.test_fstring.TestCase.test_assignment
34
*graalpython.lib-python.3.test.test_fstring.TestCase.test_ast_compile_time_concat
45
*graalpython.lib-python.3.test.test_fstring.TestCase.test_backslash_char

graalpython/com.oracle.graal.python.test/testData/goldenFiles/AssignmentTests/annotationType02.tast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ModuleRootNode Name: <module 'annotationType02'> SourceSection: [0,28]`def fn():
1414
FunctionDefinitionNode Name: fn SourceSection: None
1515
Arguments: None
1616
KwArguments: None
17-
Documentation: StringLiteralNode: Empty
17+
Documentation: None
1818
FreeVarSlots: None
1919
ExecutionSlots:
2020
FreeVarsSlots: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/AssignmentTests/assignment06.tast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ModuleRootNode Name: <module 'assignment06'> SourceSection: [0,29]`def fn():↵
1414
FunctionDefinitionNode Name: fn SourceSection: None
1515
Arguments: None
1616
KwArguments: None
17-
Documentation: StringLiteralNode: Empty
17+
Documentation: None
1818
FreeVarSlots: None
1919
ExecutionSlots:
2020
FreeVarsSlots: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/AssignmentTests/assignment07.tast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ModuleRootNode Name: <module 'assignment07'> SourceSection: [0,29]`def fn():↵
1414
FunctionDefinitionNode Name: fn SourceSection: None
1515
Arguments: None
1616
KwArguments: None
17-
Documentation: StringLiteralNode: Empty
17+
Documentation: None
1818
FreeVarSlots: None
1919
ExecutionSlots:
2020
FreeVarsSlots: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/AssignmentTests/augassign13.tast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ModuleRootNode Name: <module 'augassign13'> SourceSection: [0,17]`def fn (): x +
1414
FunctionDefinitionNode Name: fn SourceSection: None
1515
Arguments: None
1616
KwArguments: None
17-
Documentation: StringLiteralNode: Empty
17+
Documentation: None
1818
FreeVarSlots: None
1919
ExecutionSlots:
2020
FreeVarsSlots: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/AssignmentTests/augassign14.tast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ModuleRootNode Name: <module 'augassign14'> SourceSection: [0,61]`def _method(*a
1414
FunctionDefinitionNode Name: _method SourceSection: None
1515
Arguments: None
1616
KwArguments: None
17-
Documentation: StringLiteralNode: Empty
17+
Documentation: None
1818
FreeVarSlots: None
1919
ExecutionSlots:
2020
FreeVarsSlots: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/AwaitAndAsyncTests/asyncFor01.tast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ModuleRootNode Name: <module 'asyncFor01'> SourceSection: [0,39]`async def f():
1414
FunctionDefinitionNode Name: f SourceSection: None
1515
Arguments: None
1616
KwArguments: None
17-
Documentation: StringLiteralNode: Empty
17+
Documentation: None
1818
FreeVarSlots: None
1919
ExecutionSlots:
2020
FreeVarsSlots: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/AwaitAndAsyncTests/asyncFor02.tast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ModuleRootNode Name: <module 'asyncFor02'> SourceSection: [0,42]`async def f():
1414
FunctionDefinitionNode Name: f SourceSection: None
1515
Arguments: None
1616
KwArguments: None
17-
Documentation: StringLiteralNode: Empty
17+
Documentation: None
1818
FreeVarSlots: None
1919
ExecutionSlots:
2020
FreeVarsSlots: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/AwaitAndAsyncTests/asyncWith01.tast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ModuleRootNode Name: <module 'asyncWith01'> SourceSection: [0,34]`async def f():
1414
FunctionDefinitionNode Name: f SourceSection: None
1515
Arguments: None
1616
KwArguments: None
17-
Documentation: StringLiteralNode: Empty
17+
Documentation: None
1818
FreeVarSlots: None
1919
ExecutionSlots:
2020
FreeVarsSlots: None

graalpython/com.oracle.graal.python.test/testData/goldenFiles/AwaitAndAsyncTests/asyncWith02.tast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ModuleRootNode Name: <module 'asyncWith02'> SourceSection: [0,47]`async def f():
1414
FunctionDefinitionNode Name: f SourceSection: None
1515
Arguments: None
1616
KwArguments: None
17-
Documentation: StringLiteralNode: Empty
17+
Documentation: None
1818
FreeVarSlots: None
1919
ExecutionSlots:
2020
FreeVarsSlots: None

0 commit comments

Comments
 (0)