Skip to content

Commit 515a0f5

Browse files
committed
Note why '_JobConfig.from_api_repr' is not tested directly.
1 parent 3ee7d8c commit 515a0f5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

bigquery/tests/unit/test_job.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,9 @@ def test_to_api_repr(self):
913913
self.assertEqual(found, expected)
914914
self.assertIsNot(found, expected) # copied
915915

916+
# 'from_api_repr' cannot be tested on '_JobConfig', because it presumes
917+
# the ctor can be called w/o arguments
918+
916919

917920
class _Base(object):
918921
from google.cloud.bigquery.dataset import DatasetReference

0 commit comments

Comments
 (0)