Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
laughingman7743 committed Nov 24, 2019
1 parent 0f5fefb commit 448141e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_iterator(self, cursor):

@with_cursor
def test_cache_size(self, cursor):
# To test cacheing, we need to make sure the query is unique, otherwise
# To test caching, we need to make sure the query is unique, otherwise
# we might accidentally pick up the cache results from another CI run.
query = 'SELECT * FROM one_row -- {0}'.format(str(datetime.utcnow()))

Expand All @@ -89,14 +89,14 @@ def test_cache_size(self, cursor):
cursor.execute(query)
cursor.fetchall()
second_query_id = cursor.query_id
# Make sure default behavior is no cacheing, i.e. same query has
# Make sure default behavior is no caching, i.e. same query has
# run twice results in different query IDs
self.assertNotEqual(first_query_id, second_query_id)

cursor.execute(query, cache_size=100)
cursor.fetchall()
third_query_id = cursor.query_id
# When using cacheing, the same query ID should be returned.
# When using caching, the same query ID should be returned.
self.assertIn(third_query_id, [first_query_id, second_query_id])

@with_cursor
Expand Down

0 comments on commit 448141e

Please sign in to comment.