Drop unittest2

The library is imported if available, but we never build it in any
environment where the package would be installed. It was last used for
RHEL 6 builds.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2024-03-13 13:46:30 +01:00
parent eb4ba5f637
commit d95d1f59e2
32 changed files with 41 additions and 140 deletions

View file

@ -1,17 +1,14 @@
# -*- coding: utf-8 -*-
try:
import unittest2 as unittest
except ImportError:
import unittest
try:
from unittest import mock
except ImportError:
import mock
import os
import tempfile
import shutil
import tempfile
import unittest
from pungi.phases.image_checksum import ImageChecksumPhase, dump_checksums
from tests.helpers import DummyCompose, PungiTestCase