Skip to content

Commit

Permalink
remove accidental import
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoldeman committed Feb 5, 2024
1 parent be3667c commit bc3e271
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions easybuild/easyblocks/p/perl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit bc3e271

Please sign in to comment.