tests/cpydiff: Ensure all have two levels of category.
This improves the TOC display of the generated differences section. Signed-off-by: Jeff Epler <jepler@gmail.com>
This commit is contained in:
committed by
Damien George
parent
a19d3f742e
commit
ea19f3b735
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
categories: Core
|
||||
categories: Core,f-strings
|
||||
description: f-strings don't support concatenation with adjacent literals if the adjacent literals contain braces
|
||||
cause: MicroPython is optimised for code space.
|
||||
workaround: Use the + operator between literal strings when they are not both f-strings
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
categories: Core
|
||||
categories: Core,f-strings
|
||||
description: f-strings cannot support expressions that require parsing to resolve unbalanced nested braces and brackets
|
||||
cause: MicroPython is optimised for code space.
|
||||
workaround: Always use balanced braces and brackets in expressions inside f-strings
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
categories: Core
|
||||
categories: Core,f-strings
|
||||
description: f-strings don't support !a conversions
|
||||
cause: MicropPython does not implement ascii()
|
||||
workaround: None
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
categories: Syntax
|
||||
categories: Syntax,Unpacking
|
||||
description: Argument unpacking does not work if the argument being unpacked is the nth or greater argument where n is the number of bits in an MP_SMALL_INT.
|
||||
cause: The implementation uses an MP_SMALL_INT to flag args that need to be unpacked.
|
||||
workaround: Use fewer arguments.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
categories: Syntax,Spaces
|
||||
categories: Syntax,Literals
|
||||
description: MicroPython requires spaces between literal numbers and keywords or ".", CPython doesn't
|
||||
cause: Different parser implementation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user