summaryrefslogtreecommitdiff
path: root/tests/test_brute_force.py
diff options
context:
space:
mode:
authorYogeswaran Umasankar <kd8mbd@gmail.com>2024-01-20 20:24:55 +0000
committerYogeswaran Umasankar <kd8mbd@gmail.com>2024-01-20 20:24:55 +0000
commitac8027c43c9df4431092d633a06bd5bd92341247 (patch)
treef183304481dc93719dec8c121cd1280822b2da4e /tests/test_brute_force.py
parentaed54358fee5927f9b4913566d84b92255e08e12 (diff)
New upstream version 1:20240117
Diffstat (limited to 'tests/test_brute_force.py')
-rw-r--r--tests/test_brute_force.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_brute_force.py b/tests/test_brute_force.py
index 236e11a..0ab09f7 100644
--- a/tests/test_brute_force.py
+++ b/tests/test_brute_force.py
@@ -1,4 +1,3 @@
-import copy
import logging
from chirp import chirp_common
@@ -158,7 +157,7 @@ class TestCaseBruteForce(base.DriverTest):
for mode in self.rf.valid_modes:
self.assertIn(mode, chirp_common.MODES,
'Radio exposes non-standard mode')
- tmp = copy.deepcopy(m)
+ tmp = m.dupe()
if mode == "DV" and \
isinstance(self.radio,
chirp_common.IcomDstarSupport):