Skip to content

Commit ea19f3b

Browse files
jeplerdpgeorge
authored andcommitted
tests/cpydiff: Ensure all have two levels of category.
This improves the TOC display of the generated differences section. Signed-off-by: Jeff Epler <[email protected]>
1 parent a19d3f7 commit ea19f3b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tests/cpydiff/core_fstring_concat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
categories: Core
2+
categories: Core,f-strings
33
description: f-strings don't support concatenation with adjacent literals if the adjacent literals contain braces
44
cause: MicroPython is optimised for code space.
55
workaround: Use the + operator between literal strings when they are not both f-strings

tests/cpydiff/core_fstring_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
categories: Core
2+
categories: Core,f-strings
33
description: f-strings cannot support expressions that require parsing to resolve unbalanced nested braces and brackets
44
cause: MicroPython is optimised for code space.
55
workaround: Always use balanced braces and brackets in expressions inside f-strings

tests/cpydiff/core_fstring_repr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
categories: Core
2+
categories: Core,f-strings
33
description: f-strings don't support !a conversions
44
cause: MicropPython does not implement ascii()
55
workaround: None

tests/cpydiff/syntax_arg_unpacking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
categories: Syntax
2+
categories: Syntax,Unpacking
33
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.
44
cause: The implementation uses an MP_SMALL_INT to flag args that need to be unpacked.
55
workaround: Use fewer arguments.

tests/cpydiff/syntax_spaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
categories: Syntax,Spaces
2+
categories: Syntax,Literals
33
description: MicroPython requires spaces between literal numbers and keywords or ".", CPython doesn't
44
cause: Different parser implementation
55

0 commit comments

Comments
 (0)