@@ -92,9 +92,6 @@ def test_allows_get_with_operation_name(client):
9292 }
9393
9494
95- @pytest .mark .xfail (
96- reason = "SourceLocation serialization problem: https://github.com/graphql-python/graphql-core-next/issues/61"
97- )
9895def test_reports_validation_errors (client ):
9996 response = client .get (url_string (query = "{ test, unknownOne, unknownTwo }" ))
10097
@@ -449,9 +446,6 @@ def test_supports_pretty_printing_by_request(client):
449446 )
450447
451448
452- @pytest .mark .xfail (
453- reason = "SourceLocation serialization problem: https://github.com/graphql-python/graphql-core-next/issues/61"
454- )
455449def test_handles_field_errors_caught_by_graphql (client ):
456450 response = client .get (url_string (query = "{thrower}" ))
457451 assert response .status_code == 200
@@ -467,18 +461,15 @@ def test_handles_field_errors_caught_by_graphql(client):
467461 }
468462
469463
470- @pytest .mark .xfail (
471- reason = "SourceLocation serialization problem: https://github.com/graphql-python/graphql-core-next/issues/61"
472- )
473464def test_handles_syntax_errors_caught_by_graphql (client ):
474465 response = client .get (url_string (query = "syntaxerror" ))
475466 assert response .status_code == 400
476467 assert response_json (response ) == {
477468 "errors" : [
478469 {
479470 "locations" : [{"column" : 1 , "line" : 1 }],
480- "message" : "Syntax Error GraphQL (1:1) "
481- 'Unexpected Name "syntaxerror" \n \n 1: syntaxerror \n ^ \n ' ,
471+ "message" : "Syntax Error: Unexpected Name 'syntaxerror'" ,
472+ "path" : None ,
482473 }
483474 ]
484475 }
0 commit comments