Skip to content

Commit

Permalink
Merge pull request #1708 from rimey/utc-test-coverage
Browse files Browse the repository at this point in the history
Adjust pragmas to assume the tox cover environment.
  • Loading branch information
dhermes committed Apr 8, 2016
2 parents 3cf7d03 + 64e1483 commit 8da951d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcloud/test__helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_module_property(self):
klass = self._getTargetClass()
try:
import pytz
except ImportError: # pragma: NO COVER
except ImportError:
self.assertTrue(isinstance(MUT.UTC, klass))
else:
self.assertIs(MUT.UTC, pytz.UTC) # pragma: NO COVER
Expand Down

0 comments on commit 8da951d

Please sign in to comment.