remove some pre-3.8 workarounds (#7671)

This commit is contained in:
Mike Fährmann
2025-06-17 12:56:47 +02:00
parent d0b1da0fa7
commit 6d928f3805
7 changed files with 8 additions and 37 deletions

View File

@@ -377,9 +377,7 @@ class MetadataTest(BasePostprocessorTest):
path = self.pathfmt.realpath + ".JSON"
m.assert_called_once_with(path, "w", encoding="utf-8")
if sys.hexversion >= 0x3060000:
# python 3.4 & 3.5 have random order without 'sort: True'
self.assertEqual(self._output(m), """{
self.assertEqual(self._output(m), """{
"category": "test",
"filename": "file",
"extension": "ext",