summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorSimon <965089+sarthurdev@users.noreply.github.com>2025-09-18 16:45:59 +0200
committerGitHub <noreply@github.com>2025-09-18 16:45:59 +0200
commit94912576d4012cc28825e2933768b362ba512b89 (patch)
treeda82eede37ab044fff4e0b63894df9fa4b5e2c5c /python
parentf8ecb5136beba589cb01d241b09b1832a00b0e0d (diff)
parent45ac29070e1a95cc1bcb090fd3a58692ff755b2b (diff)
downloadvyos-1x-94912576d4012cc28825e2933768b362ba512b89.tar.gz
vyos-1x-94912576d4012cc28825e2933768b362ba512b89.zip
Merge pull request #4728 from sarthurdev/T7825
nose: T7825: Use nose2 for unit tests
Diffstat (limited to 'python')
-rw-r--r--python/vyos/airbag.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/vyos/airbag.py b/python/vyos/airbag.py
index 1dcccdd47..bba8fc9fd 100644
--- a/python/vyos/airbag.py
+++ b/python/vyos/airbag.py
@@ -24,6 +24,8 @@ from vyos.defaults import airbag_noteworthy_size
def enable(log=True):
+ if 'nose2' in sys.modules:
+ return
if log:
_intercepting_logger()
_intercepting_exceptions()