-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit test and getTracks fail #7
Comments
This is from downloading the source from pypi. The unit tests run when cloned from github. |
Having the same issue. Would love to see this fixed! |
Instsalling from pip is still present. Works fine cloning from trunk |
For a 2 CD album like "Until the End of Time" by Tupac, all tracks on the second CD have the track number of the last track on the first CD:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
getTracks fails with the following error:
ERROR: testTracks (main.PyLyricsTest)
Traceback (most recent call last):
File "tests.py", line 17, in testTracks
self.assertIsInstance(albums[0].tracks(),list)
File "/Users/cici/Downloads/PyLyrics-1.1.0/PyLyrics/functions.py", line 38, in tracks
return PyLyrics.getTracks(self)
File "/Users/cici/Downloads/PyLyrics-1.1.0/PyLyrics/functions.py", line 69, in getTracks
songs =[Track(song.text,album,album.artist()) for song in currentAlbum.findNext('songs').findAll('item')]
UnboundLocalError: local variable 'currentAlbum' referenced before assignment
The text was updated successfully, but these errors were encountered: