Python 3.11

This commit is contained in:
f4lco
2022-11-01 22:26:41 +01:00
parent 3dabf375c9
commit c308118e8f
12 changed files with 413 additions and 486 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ def _canteen():
def _read_menu(resource_name):
with open(_resource_path(resource_name)) as menu_file:
with open(_resource_path(resource_name), encoding='utf-8') as menu_file:
return json.load(menu_file)
@@ -28,7 +28,7 @@ def _read_feed(resource_name):
def test_meta_consistency():
canteen = _canteen()
menu_feed_url = "canteens/{}/menu".format(canteen.key)
menu_feed_url = f"canteens/{canteen.key}/menu"
actual = feed.render_meta(canteen, menu_feed_url)