From 905d716823020370163509c2940aba9093338fe5 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Thu, 21 Sep 2017 14:18:00 -0700 Subject: [PATCH] Fix lint errors. --- bigquery/google/cloud/bigquery/dataset.py | 1 - bigquery/tests/unit/test_dataset.py | 2 +- bigquery/tests/unit/test_table.py | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bigquery/google/cloud/bigquery/dataset.py b/bigquery/google/cloud/bigquery/dataset.py index 845a007b20e2f..0265a56d4fe4d 100644 --- a/bigquery/google/cloud/bigquery/dataset.py +++ b/bigquery/google/cloud/bigquery/dataset.py @@ -187,7 +187,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 8d615b65d8252..1657f0f7aff0e 100644 --- a/bigquery/tests/unit/test_dataset.py +++ b/bigquery/tests/unit/test_dataset.py @@ -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): diff --git a/bigquery/tests/unit/test_table.py b/bigquery/tests/unit/test_table.py index e717945138026..f2c2297d244b6 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')