sed assertEquals to assertEqual to fix FTBFS with Python 3.12

This commit is contained in:
Miro Hrončok 2023-03-31 19:25:48 +02:00
parent 4433ebb3c1
commit d7d6c8f17c

View File

@ -36,6 +36,9 @@ device-dependent properties of a CD-ROM can use this library.
%prep %prep
%autosetup -n pycdio-%{version} -p1 %autosetup -n pycdio-%{version} -p1
# hotfix for Python 3.12, please bring this upstream
# fixes https://bugzilla.redhat.com/2155240
sed -i 's/assertEquals/assertEqual/' test/test-cdtext.py
%build %build
%py3_build %py3_build