Skip to content

Commit

Permalink
Fix lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
tswast committed Sep 21, 2017
1 parent 91ff1fb commit 905d716
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion bigquery/google/cloud/bigquery/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ def __repr__(self):
return 'DatasetReference{}'.format(self._key())



class Dataset(object):
"""Datasets are containers for tables.
Expand Down
2 changes: 1 addition & 1 deletion bigquery/tests/unit/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_from_api_repr(self):
'projectId': 'project_1',
'datasetId': 'dataset_1',
})

self.assertEqual(expected, got)

def test___eq___wrong_type(self):
Expand Down
4 changes: 2 additions & 2 deletions bigquery/tests/unit/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_from_api_repr(self):
'datasetId': 'dataset_1',
'tableId': 'table_1',
})

self.assertEqual(expected, got)

def test___eq___wrong_type(self):
Expand Down Expand Up @@ -125,7 +125,7 @@ def test___eq___equality(self):
table = self._make_one(dataset, 'table_1')
other = self._make_one(dataset, 'table_1')
self.assertEqual(table, other)

def test___hash__set_equality(self):
from google.cloud.bigquery.dataset import DatasetReference
dataset = DatasetReference('project_1', 'dataset_1')
Expand Down

0 comments on commit 905d716

Please sign in to comment.