Skip to content

Commit c87979f

Browse files
committed
Fix deprecated method names
1 parent 2c71caa commit c87979f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gql/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ def _get_result(self, document, *args, **kwargs):
6767
return result
6868
except Exception as e:
6969
last_exception = e
70-
log.warn("Request failed with exception %s. Retrying for the %s time...",
71-
e, retries_count + 1, exc_info=True)
70+
log.warning("Request failed with exception %s. Retrying for the %s time...",
71+
e, retries_count + 1, exc_info=True)
7272
finally:
7373
retries_count += 1
7474

tests/starwars/test_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def introspection_schema():
6464

6565
@pytest.fixture(params=['local_schema', 'typedef_schema', 'introspection_schema'])
6666
def client(request):
67-
return request.getfuncargvalue(request.param)
67+
return request.getfixturevalue(request.param)
6868

6969

7070
def validation_errors(client, query):

0 commit comments

Comments
 (0)