python313Packages.mypermobil: disable failing test

+10 -4
+10 -4
pkgs/development/python-modules/mypermobil/default.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 aiocache, 7 aiohttp, ··· 35 pytestCheckHook 36 ]; 37 38 - disabledTests = [ 39 - # requires networking 40 - "test_region" 41 - ]; 42 43 meta = { 44 changelog = "https://github.com/Permobil-Software/mypermobil/releases/tag/v${version}";
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 + pythonAtLeast, 6 setuptools, 7 aiocache, 8 aiohttp, ··· 36 pytestCheckHook 37 ]; 38 39 + disabledTests = 40 + [ 41 + # requires networking 42 + "test_region" 43 + ] 44 + ++ lib.optionals (pythonAtLeast "3.13") [ 45 + # AssertionError: MyPermobilAPIException not raised 46 + "test_request_item_404" 47 + ]; 48 49 meta = { 50 changelog = "https://github.com/Permobil-Software/mypermobil/releases/tag/v${version}";