Skip to content

Commit

Permalink
test: Removing unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
aadel committed Mar 24, 2024
1 parent f2f227c commit d894830
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_sql_compilation_caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def index_data(self, settings):
f.index()

def test_sql_compilation_caching_1(self, caplog, settings):
engine, t = prepare_orm(settings)
_, t = prepare_orm(settings)

qry_1 = (select(t.c.CITY_s).select_from(t)).limit(1)
qry_2 = (select(t.c.CITY_s).select_from(t)).limit(10)
Expand All @@ -23,7 +23,7 @@ def test_sql_compilation_caching_1(self, caplog, settings):
assert k1 == k2

def test_sql_compilation_caching_2(self, caplog, settings):
engine, t = prepare_orm(settings)
_, t = prepare_orm(settings)

qry_1 = (select(t.c.CITY_s).select_from(t)).limit(1).offset(1)
qry_2 = (select(t.c.CITY_s).select_from(t)).limit(1).offset(2)
Expand All @@ -46,7 +46,7 @@ def test_sql_compilation_caching_3(self, caplog, settings):
assert result_2.context.cache_hit == _symbol('CACHE_HIT')

def test_sql_compilation_caching_4(self, caplog, settings):
engine, t = prepare_orm(settings)
_, t = prepare_orm(settings)

qry_1 = select(t).where(t.c.CITY_s == bindparam('CITY_s')).limit(10)
qry_2 = select(t).where(t.c.COUNTRY_s == bindparam('COUNTRY_s')).limit(10)
Expand Down

0 comments on commit d894830

Please sign in to comment.