Skip to content

Commit 3166329

Browse files
committed
Compile test: Fix unwanted modification of original dictionary
1 parent 69203c0 commit 3166329

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/compile_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def test_display_types(self):
368368
self.build_firmware(disp_type, display_type=disp_type)
369369

370370
def test_16x2_serial_with_dynamic_backlight(self):
371-
my_features = DEFAULT_FEATURES
371+
my_features = DEFAULT_FEATURES.copy()
372372
my_features.append('SUPPORT_DISPLAY_BACKLIGHT')
373373

374374
self.build_firmware(hardware_rev = 5,
@@ -407,7 +407,7 @@ def test_bluetooth_modes(self):
407407
def test_control_modes(self):
408408
for control_mode in ['NORMAL', 'LIMIT_WH_PER_KM', 'TORQUE']:
409409
# Enable XCELL_RT support in TORQUE mode
410-
my_features = DEFAULT_FEATURES
410+
my_features = DEFAULT_FEATURES.copy()
411411
if control_mode == 'TORQUE':
412412
my_features.append('SUPPORT_XCELL_RT')
413413

0 commit comments

Comments
 (0)