Skip to content

Commit 3964265

Browse files
committed
RF 4.0.1 fix
1 parent 84262f3 commit 3964265

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

atest/tests_types.robot

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ Python 3.10 New Type Hints
9696
[Tags] py310
9797
[Setup] Import DynamicTypesAnnotationsLibrary In Python 3.10 Only
9898
${types} = Python310 Style 111
99+
${py3} = DynamicTypesLibrary.Is Python 3 10
100+
IF ${py3} == ${True}
101+
Should Be Equal ${types} arg: 111, type: <class 'int'>
102+
ELSE
103+
Should Be Equal ${types} arg: 111, type: <class 'str'>
104+
END
99105
Should Be Equal ${types} arg: 111, type: <class 'int'>
100106
${types} = Python310 Style {"key": 1}
101107
Should Be Equal ${types} arg: {'key': 1}, type: <class 'dict'>

0 commit comments

Comments
 (0)