File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed
Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 6666 then don't change anything until the next step is done. Merge to main/master
6767 (.gitignore will avoid uploading the large files created here.)
6868
69- 15. Switch back to master/main branch
69+ 15. Switch back to master/main branch (or whatever main version we are releasing)
7070
717116. Tag the commit: git tag -a vX.Y.Z -m "music21 vX.Y.Z"
7272 Don't forget the "v" in the release tag.
7373 Sanity check that the correct commit was tagged: git log
7474
75- 17. Push tags: git push --tags (or git push upstream --tags if not on main branch)
75+ 17. Push tags: git push --tags
7676
777718. Create a new release on GitHub (using the tag just created) and upload the
7878 non-wheel files created here and docs.
Original file line number Diff line number Diff line change @@ -242,6 +242,8 @@ def testHello(self):
242242 if ('importPlusRelative' in testClasses
243243 or 'importPlusRelative' in sys .argv
244244 or bool (keywords .get ('importPlusRelative' , False ))):
245+ # allow things like volpiano.py's function "fromStream"
246+ # to be called in doctests as "fromStream" and not just "volpiano.fromStream"
245247 globs .update (inspect .stack ()[1 ][0 ].f_globals )
246248
247249 try :
Original file line number Diff line number Diff line change 2020from __future__ import annotations
2121
2222import enum
23- import unittest
2423
2524from music21 import bar
2625from music21 import base
@@ -460,14 +459,8 @@ def setAccFromPitch(dist, setNatural=False):
460459 return '' .join (volpianoTokens )
461460
462461
463-
464- class Test (unittest .TestCase ):
465- pass
466-
467- def testNoteNames (self ):
468- pass
469-
470-
471462if __name__ == '__main__' :
472463 import music21
473- music21 .mainTest (Test , 'importPlusRelative' )
464+ # allow things like "fromStream" to be called in doctests as "fromStream"
465+ # and not just "volpiano.fromStream"
466+ music21 .mainTest ('importPlusRelative' )
You can’t perform that action at this time.
0 commit comments