Commit e4212a9b authored by Augustin Trancart's avatar Augustin Trancart
Browse files

python3Packages.psycopg: disable flakey tests and known timing tests

parent 3fe4d32e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -205,13 +205,16 @@ buildPythonPackage rec {
    # Mypy typing test
    "tests/test_typing.py"
    "tests/crdb/test_typing.py"
    # https://github.com/psycopg/psycopg/pull/915
    "tests/test_notify.py"
    "tests/test_notify_async.py"
  ];

  pytestFlagsArray = [
    "-o"
    "cache_dir=$TMPDIR"
    "-m"
    "'not refcount and not timing'"
    "'not refcount and not timing and not flakey'"
    # pytest.PytestRemovedIn9Warning: Marks applied to fixtures have no effect
    "-W"
    "ignore::pytest.PytestRemovedIn9Warning"