From 93203f355a9791f74d1c15b9ffcb1afdc848f6a0 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 9 Mar 2023 20:57:43 +0100 Subject: [PATCH] avoid recent Python dialect --- test/bdd/steps/http_responses.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/bdd/steps/http_responses.py b/test/bdd/steps/http_responses.py index 0a3bd304..22fcb010 100644 --- a/test/bdd/steps/http_responses.py +++ b/test/bdd/steps/http_responses.py @@ -84,7 +84,8 @@ class GenericResponse: assert set(r.keys()) == {'geocoding', 'geojson', '__geocoding'}, \ f"Unexpected keys in result: {r.keys()}" check_for_attributes(r['geocoding'], 'geojson', 'absent') - r |= r.pop('geocoding') + inner = r.pop('geocoding') + r.update(inner) def assert_address_field(self, idx, field, value): -- 2.39.5