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:
parent
a19d3f742e
commit
ea19f3b735
5 changed files with 5 additions and 5 deletions
|
|
@ -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
|
description: f-strings don't support concatenation with adjacent literals if the adjacent literals contain braces
|
||||||
cause: MicroPython is optimised for code space.
|
cause: MicroPython is optimised for code space.
|
||||||
workaround: Use the + operator between literal strings when they are not both f-strings
|
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
|
description: f-strings cannot support expressions that require parsing to resolve unbalanced nested braces and brackets
|
||||||
cause: MicroPython is optimised for code space.
|
cause: MicroPython is optimised for code space.
|
||||||
workaround: Always use balanced braces and brackets in expressions inside f-strings
|
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
|
description: f-strings don't support !a conversions
|
||||||
cause: MicropPython does not implement ascii()
|
cause: MicropPython does not implement ascii()
|
||||||
workaround: None
|
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.
|
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.
|
cause: The implementation uses an MP_SMALL_INT to flag args that need to be unpacked.
|
||||||
workaround: Use fewer arguments.
|
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
|
description: MicroPython requires spaces between literal numbers and keywords or ".", CPython doesn't
|
||||||
cause: Different parser implementation
|
cause: Different parser implementation
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue