Unverified Commit cb0992e1 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.pysnooper: disable failing test on x86_64-darwin (#506798)

parents bc2cb332 c3b4d955
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
@@ -22,6 +23,11 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
    # timing-sensitive and often breaks on x86_64-darwin
    "test_relative_time"
  ];

  pythonImportsCheck = [ "pysnooper" ];

  meta = {