editor: Don't ring bell during tests

This commit is contained in:
Andrew Hamilton 2022-01-13 19:29:27 +10:00
parent 38706e89d4
commit 4dc97d0b9a

View file

@ -538,6 +538,7 @@ class Editor:
self.quit()
def ring_bell(self):
if "unittest" not in sys.modules:
print("\a", end="")
def undo(self):