Repository: popsim-consortium/stdpopsim (language: python)

Issue:
Update CI versions



Discussion / hints:

Fix patch:
diff --git a/stdpopsim/dfe.py b/stdpopsim/dfe.py
index 9136fe82a..e8d9f8fa9 100644
--- a/stdpopsim/dfe.py
+++ b/stdpopsim/dfe.py
@@ -1,7 +1,7 @@
 """
 Common infrastructure for specifying DFEs.
 """
-# import numpy as np
+
 import textwrap
 import attr
 import collections.abc


Test patch:
diff --git a/tests/test_dfes.py b/tests/test_dfes.py
index 34fdcaa42..f494a1b0e 100644
--- a/tests/test_dfes.py
+++ b/tests/test_dfes.py
@@ -717,8 +717,9 @@ def make_dfe(self, name):
 
     def test_register_qc(self):
         dfe = self.make_dfe("test")
-        dfe.register_qc(dfe)
-        assert dfe.qc_dfe == dfe
+        dfe_two = self.make_dfe("test")
+        dfe.register_qc(dfe_two)
+        assert dfe.qc_dfe == dfe_two
 
     def test_already_registered(self):
         dfe = self.make_dfe("test")