Skip to content

Commit

Permalink
Dropping use of map since PyLint doesn't like it.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Sep 5, 2015
1 parent c783444 commit 81cd285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcloud_bigtable/happybase/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def test_create_table(self):
# Check if our mock was called twice, but we don't know the order.
mock_called = mock_parse_family_option.called_args
self.assertEqual(len(mock_called), 2)
self.assertEqual(map(len, mock_called), [1, 1])
self.assertEqual([len(args) for args in mock_called], [1, 1])
self.assertEqual(set(mock_called[0] + mock_called[1]),
set([col_fam_option1, col_fam_option2]))

Expand Down

0 comments on commit 81cd285

Please sign in to comment.