mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
tests: Add test for evaluation order of dictionary key/value pairs.
In Python 3.4 the value is evaluated before the key. In Python 3.5 it's key then value.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
None
|
||||
['a', 'b']
|
||||
('a', 'b') {'kw_arg': None}
|
||||
2
|
||||
1
|
||||
SyntaxError
|
||||
SyntaxError
|
||||
3.4
|
||||
|
||||
Reference in New Issue
Block a user