Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ce5f1ed

Browse filesBrowse files
authored
test: remove pytz dependency (googleapis#108)
Co-authored-by: larkee <larkee@users.noreply.github.com>
1 parent 1c9be70 commit ce5f1ed
Copy full SHA for ce5f1ed

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎test/test_suite.py

Copy file name to clipboardExpand all lines: test/test_suite.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
from datetime import timezone
1718
import decimal
1819
import operator
1920
import os
2021
import pytest
21-
import pytz
2222
from unittest import mock
2323

2424
import sqlalchemy
@@ -945,7 +945,7 @@ def test_row_w_scalar_select(self):
945945

946946
eq_(
947947
row["somelabel"],
948-
DatetimeWithNanoseconds(2006, 5, 12, 12, 0, 0, tzinfo=pytz.UTC),
948+
DatetimeWithNanoseconds(2006, 5, 12, 12, 0, 0, tzinfo=timezone.utc),
949949
)
950950

951951

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.