Skip to content

Commit fb5d521

Browse files
committed
micropython v1.25.0 merge: fix tests
1 parent 1263d11 commit fb5d521

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ports/unix/variants/coverage/mpconfigvariant.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ CFLAGS += \
1212
LDFLAGS += -fprofile-arcs -ftest-coverage
1313

1414
FROZEN_MANIFEST ?= $(VARIANT_DIR)/manifest.py
15-
USER_C_MODULES = $(TOP)/examples/usercmodule
15+
# CIRCUITPY-CHANGE: don't include user C modules
16+
# USER_C_MODULES = $(TOP)/examples/usercmodule
1617

1718
# CIRCUITPY-CHANGE: use CircuitPython bindings and implementations
1819
SRC_QRIO := $(patsubst ../../%,%,$(wildcard ../../shared-bindings/qrio/*.c ../../shared-module/qrio/*.c ../../lib/quirc/lib/*.c))

tests/extmod/re_sub.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def A():
4949
print(re.sub("a", "b", "c"))
5050

5151
# with maximum substitution count specified
52-
if sys.implementation.name != "micropython":
52+
# CIRCUITPY-CHANGE: was "micropython"
53+
if sys.implementation.name != "circuitpython":
5354
# On CPython 3.13 and later the substitution count must be a keyword argument.
5455
print(re.sub("a", "b", "1a2a3a", count=2))
5556
else:

tests/misc/non_compliant.py.exp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ NotImplementedError
1313
NotImplementedError
1414
NotImplementedError
1515
NotImplementedError
16-
b'\x01\x02'
17-
b'\x01\x00'
1816
NotImplementedError
1917
AttributeError
2018
TypeError

0 commit comments

Comments
 (0)