Showing the changes to python/tests/test_note2midi.py (1 of 5 files). Show all
Unified · Split
| @@ -69,7 +69,7 @@ class freq2note_simple_test(unittest.TestCase): · 68 unmodified lines | |||
| 69 | 69 | ||
| 70 | def test_freq2note(self): | 70 | def test_freq2note(self): |
| 71 | " make sure freq2note(441) == A4 " | 71 | " make sure freq2note(441) == A4 " |
| 72 | self.assertEquals("A4", freq2note(441)) | 72 | self.assertEqual("A4", freq2note(441)) |
| 73 | 73 | ||
| 74 | if __name__ == '__main__': | 74 | if __name__ == '__main__': |
| 75 | unittest.main() | 75 | unittest.main() |