Skip to content

Commit

Permalink
BigQuery formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
daspecster committed Feb 17, 2017
1 parent f154059 commit 11a2e35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bigquery/unit_tests/test__helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ def test_w_non_bytes(self):

def test_w_bytes(self):
import base64

source = b'source'
expected = base64.encodestring(source)
self.assertEqual(self._call_fut(source), expected)
Expand Down
1 change: 1 addition & 0 deletions bigquery/unit_tests/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1536,6 +1536,7 @@ def test_upload_from_file_multipart_w_400(self):
from google.cloud._testing import _NamedTemporaryFile
from google.cloud._helpers import UTC
from google.cloud.exceptions import BadRequest

WHEN_TS = 1437767599.006
WHEN = datetime.datetime.utcfromtimestamp(WHEN_TS).replace(
tzinfo=UTC)
Expand Down

0 comments on commit 11a2e35

Please sign in to comment.