diff --git a/bigquery/google/cloud/bigquery/dataset.py b/bigquery/google/cloud/bigquery/dataset.py index 0f945b7fb44a..9af52232b970 100644 --- a/bigquery/google/cloud/bigquery/dataset.py +++ b/bigquery/google/cloud/bigquery/dataset.py @@ -191,7 +191,6 @@ def __repr__(self): return 'DatasetReference{}'.format(self._key()) - class Dataset(object): """Datasets are containers for tables. diff --git a/bigquery/tests/unit/test_dataset.py b/bigquery/tests/unit/test_dataset.py index 93e4dced594f..c04d154b52da 100644 --- a/bigquery/tests/unit/test_dataset.py +++ b/bigquery/tests/unit/test_dataset.py @@ -135,7 +135,7 @@ def test_from_api_repr(self): 'projectId': 'project_1', 'datasetId': 'dataset_1', }) - + self.assertEqual(expected, got) def test___eq___wrong_type(self): diff --git a/bigquery/tests/unit/test_table.py b/bigquery/tests/unit/test_table.py index e71794513802..f2c2297d244b 100644 --- a/bigquery/tests/unit/test_table.py +++ b/bigquery/tests/unit/test_table.py @@ -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): @@ -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')