From bc3e271ad560d2d0f2a4058539f757a2c81f4a6e Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Mon, 5 Feb 2024 15:27:28 +0000 Subject: [PATCH] remove accidental import --- easybuild/easyblocks/p/perl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/easybuild/easyblocks/p/perl.py b/easybuild/easyblocks/p/perl.py index 956308e368..88c4eaf291 100644 --- a/easybuild/easyblocks/p/perl.py +++ b/easybuild/easyblocks/p/perl.py @@ -39,7 +39,6 @@ from easybuild.tools.filetools import adjust_permissions from easybuild.tools.environment import setvar, unset_env_vars from easybuild.tools.modules import get_software_root -from easybuild.tools.py2vs3 import string_type from easybuild.tools.run import run_shell_cmd # perldoc -lm seems to be the safest way to test if a module is available, based on exit code @@ -124,7 +123,7 @@ def test_step(self): # allow escaping with runtest = False if self.cfg['runtest'] is None or self.cfg['runtest']: parallel = self.cfg['parallel'] - if isinstance(self.cfg['runtest'], string_type): + if isinstance(self.cfg['runtest'], str): cmd = "make %s" % self.cfg['runtest'] elif parallel and LooseVersion(self.version) >= LooseVersion('5.30.0'): # run tests in parallel, see https://perldoc.perl.org/perlhack#Parallel-tests;