Commit 3c8c012a authored by Sarah Clark's avatar Sarah Clark
Browse files

python314Packages.aiohttp-utils: disable failing tests

parent 45a15306
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonAtLeast,
  setuptools,
  aiohttp,
  python-mimeparse,
@@ -48,6 +49,13 @@ buildPythonPackage rec {
    "test_renders_to_json_by_default"
  ];

  disabledTestPaths = lib.optionals (pythonAtLeast "3.14") [
    # RuntimeError: There is no current event loop in thread 'MainThread'.
    "tests/test_examples.py"
    "tests/test_negotiation.py"
    "tests/test_routing.py"
  ];

  meta = {
    description = "Handy utilities for building aiohttp.web applications";
    homepage = "https://github.com/sloria/aiohttp-utils";