diff --git a/pylast/__init__.py b/pylast/__init__.py index 245e1a3..da167c6 100644 --- a/pylast/__init__.py +++ b/pylast/__init__.py @@ -1718,12 +1718,6 @@ class Album(_Opus): def __init__(self, artist, title, network, username=None): super(Album, self).__init__(artist, title, network, "album", username) - def get_release_date(self): - """Returns the release date of the album.""" - - return _extract(self._request( - self.ws_prefix + ".getInfo", cacheable=True), "releasedate") - def get_cover_image(self, size=COVER_EXTRA_LARGE): """ Returns a uri to the cover image diff --git a/tests/test_pylast.py b/tests/test_pylast.py index a2c27a6..efeb960 100755 --- a/tests/test_pylast.py +++ b/tests/test_pylast.py @@ -1879,18 +1879,6 @@ class TestPyLast(unittest.TestCase): # Assert self.assertGreater(count, 21) - @handle_lastfm_exceptions - def test_album_rel_date(self): - # Arrange - album = pylast.Album("Test Artist", "Test Release", self.network) - - # Act - date = album.get_release_date() - - # Assert - self.skip_if_lastfm_api_broken(date) - self.assertIn("2011", date) - @handle_lastfm_exceptions def test_album_tracks(self): # Arrange