diff --git a/easybuild/easyblocks/p/python.py b/easybuild/easyblocks/p/python.py index 29597902a6..d701a5f1d2 100644 --- a/easybuild/easyblocks/p/python.py +++ b/easybuild/easyblocks/p/python.py @@ -461,18 +461,6 @@ def build_step(self, *args, **kwargs): super(EB_Python, self).build_step(*args, **kwargs) - def test_step(self): - """Test Python build via 'make test'.""" - # Turn on testing by default for recent Python versions - relevant_python = (self.name.lower() == 'python' and LooseVersion(self.version) >= LooseVersion('3.10')) - if relevant_python and self.cfg['runtest'] is None: - self.cfg['runtest'] = 'test' - # Need to skip some troublesome tests - # (socket tests give a permission denied error, may be due to SELinux) - # (curses error is from test_background, just ignoring) - self.cfg['testopts'] = 'TESTOPTS="-x test_socket test_curses "' - super(EB_Python, self).test_step() - def install_step(self): """Extend make install to make sure that the 'python' command is present."""