Skip to content

Commit

Permalink
tests: suppress expected warning for bad enum value
Browse files Browse the repository at this point in the history
Closes #150.
  • Loading branch information
tseaver committed Jul 9, 2021
1 parent 544d0c1 commit 9910960
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/test_query.py
Expand Up @@ -15,6 +15,7 @@
import unittest

import mock
import pytest


class TestQuery(unittest.TestCase):
Expand Down Expand Up @@ -527,6 +528,7 @@ def test__process_query_results_done(self):
self.assertIsNone(iterator.next_page_token)
self.assertFalse(iterator._more_results)

@pytest.mark.filterwarnings("ignore")
def test__process_query_results_bad_enum(self):
iterator = self._make_one(None, None)
more_results_enum = 999
Expand Down

0 comments on commit 9910960

Please sign in to comment.