Skip to content

Commit

Permalink
Avoid notice in test_cve_2018_1058
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Mar 5, 2020
1 parent 4806ba2 commit fb6af40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_dbapi20.py
Expand Up @@ -1363,6 +1363,7 @@ def test_cve_2018_1058(self):
cur = con.cursor()
execute = cur.execute
try:
execute("SET client_min_messages TO WARNING")
execute("SET TIMEZONE TO 'UTC'")
execute("SHOW TIMEZONE")
self.assertEqual(cur.fetchone()[0], 'UTC')
Expand Down

0 comments on commit fb6af40

Please sign in to comment.