tests: drop (nowadays) useless hack for Python 2.4

Even Python 2.7 is now EOL.  And this weird import has been breaking
the Tox tests (importing the tagger class brought in other unnecessary
deps and tests bombed).
This commit is contained in:
Pavel Raiskup 2024-10-04 15:37:57 +02:00 committed by Jakub Kadlčík
parent ef5e8abd81
commit 5f55271ca3

View file

@ -29,10 +29,6 @@ from tito.common import find_git_root, error_out, debug, get_class_by_name, \
from tito.compat import RawConfigParser, getstatusoutput, getoutput
from tito.exception import TitoException
# Hack for Python 2.4, seems to require we import these so they get compiled
# before we try to dynamically import them based on a string name.
import tito.tagger # NOQA
PROGNAME = "tito"
TITO_PROPS = "tito.props"
RELEASERS_CONF_FILENAME = "releasers.conf"