From 65030026925125da6d53edd61d78d810db865ed1 Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 6 Jun 2018 11:26:00 +0300 Subject: [PATCH] Fix commented-out formatting post-Black --- tests/test_artist.py | 2 +- tests/test_user.py | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/test_artist.py b/tests/test_artist.py index 276e088..914fa6a 100755 --- a/tests/test_artist.py +++ b/tests/test_artist.py @@ -134,7 +134,7 @@ class TestPyLastArtist(TestPyLastWithLastFm): def test_tag_artist(self): # Arrange artist = self.network.get_artist("Test Artist") - # artist.clear_tags() + # artist.clear_tags() # Act artist.add_tag("testing") diff --git a/tests/test_user.py b/tests/test_user.py index dda91b2..835d131 100755 --- a/tests/test_user.py +++ b/tests/test_user.py @@ -154,15 +154,15 @@ class TestPyLastUser(TestPyLastWithLastFm): # fails due Last.fm's complaining of hitting the rate limit, even when # limited to one call per second. The ToS allows 5 calls per second. # def test_get_all_scrobbles(self): - # # Arrange - # lastfm_user = self.network.get_user("RJ") - # self.network.enable_rate_limit() # this is going to be slow... - - # # Act - # tracks = lastfm_user.get_recent_tracks(limit=None) - - # # Assert - # self.assertGreaterEqual(len(tracks), 0) + # # Arrange + # lastfm_user = self.network.get_user("RJ") + # self.network.enable_rate_limit() # this is going to be slow... + # + # # Act + # tracks = lastfm_user.get_recent_tracks(limit=None) + # + # # Assert + # self.assertGreaterEqual(len(tracks), 0) def test_pickle(self): # Arrange