Commit 23bc23f6 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

python3Packages.zfec: Avoid using deprecated test runner

parent 742f3d6e
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
, buildPythonPackage
, fetchPypi
, pyutil
, setuptoolsTrial
, twisted
}:

@@ -17,12 +16,9 @@ buildPythonPackage rec {

  propagatedBuildInputs = [ pyutil ];

  nativeCheckInputs = [ setuptoolsTrial twisted ];
  nativeCheckInputs = [ twisted ];

  # argparse is in the stdlib but zfec doesn't know that.
  postPatch = ''
    sed -i -e '/argparse/d' setup.py
  '';
  checkPhase = "trial zfec";

  pythonImportsCheck = [ "zfec" ];