We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c15c0 commit f43de29Copy full SHA for f43de29
1 file changed
tests/test_mpy_integration.py
@@ -120,6 +120,11 @@ def setUpClass(cls):
120
121
# Mount uhttp client module with mpy-cross compilation
122
client_dir = Path(__file__).parent.parent / 'uhttp'
123
+ # Clear mpy-cross cache to ensure fresh compilation
124
+ pycache = client_dir / '__pycache__'
125
+ if pycache.exists():
126
+ import shutil
127
+ shutil.rmtree(pycache)
128
mpy_cross = MpyCross()
129
mpy_cross.init(cls.mpy.platform())
130
cls.mount_handler = cls.mpy.mount(
0 commit comments