From e11427c369beca73dea2d3851450606894ae24b9 Mon Sep 17 00:00:00 2001 From: Tim Beyer <35711942+TimFelixBeyer@users.noreply.github.com> Date: Sat, 24 Feb 2024 10:27:43 +0100 Subject: [PATCH] Add regression test --- music21/harmony.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/music21/harmony.py b/music21/harmony.py index 48dd8fca3..ab8611636 100644 --- a/music21/harmony.py +++ b/music21/harmony.py @@ -3162,6 +3162,12 @@ def testExpressSusUsingAlterations(self): self.assertEqual(ch1.pitches, ch2.pitches) + def testDoubledCharacters(self): + ch1 = ChordSymbol('Co omit5') + ch2 = ChordSymbol('Cdim omit5') + + self.assertEqual(ch1.pitches, ch2.pitches) + def x_testPower(self): ''' power chords should not have inversions