How To Install python3-testfixtures on Fedora 36
Introduction
In this tutorial we learn how to install python3-testfixtures
on Fedora 36.
What is python3-testfixtures
Testfixtures is a collection of helpers and mock objects that are useful when writing automated tests in Python.
We can use yum
or dnf
to install python3-testfixtures
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-testfixtures.
Install python3-testfixtures on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-testfixtures
using dnf
by running the following command:
sudo dnf -y install python3-testfixtures
Install python3-testfixtures on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-testfixtures
using yum
by running the following command:
sudo yum -y install python3-testfixtures
How To Uninstall python3-testfixtures on Fedora 36
To uninstall only the python3-testfixtures
package we can use the following command:
sudo dnf remove python3-testfixtures
python3-testfixtures Package Contents on Fedora 36
/usr/lib/python3.10/site-packages/testfixtures
/usr/lib/python3.10/site-packages/testfixtures-6.18.3-py3.10.egg-info
/usr/lib/python3.10/site-packages/testfixtures-6.18.3-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/testfixtures-6.18.3-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/testfixtures-6.18.3-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/testfixtures-6.18.3-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/testfixtures-6.18.3-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/testfixtures-6.18.3-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/testfixtures/__init__.py
/usr/lib/python3.10/site-packages/testfixtures/__pycache__
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/comparison.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/comparison.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/components.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/components.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/django.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/django.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/logcapture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/logcapture.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/mock.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/mock.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/outputcapture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/outputcapture.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/popen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/popen.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/replace.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/replace.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/resolve.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/resolve.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/rmtree.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/rmtree.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/shouldraise.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/shouldraise.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/shouldwarn.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/shouldwarn.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/sybil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/sybil.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/tdatetime.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/tdatetime.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/tempdirectory.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/tempdirectory.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/twisted.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/twisted.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/comparison.py
/usr/lib/python3.10/site-packages/testfixtures/compat.py
/usr/lib/python3.10/site-packages/testfixtures/components.py
/usr/lib/python3.10/site-packages/testfixtures/django.py
/usr/lib/python3.10/site-packages/testfixtures/logcapture.py
/usr/lib/python3.10/site-packages/testfixtures/mock.py
/usr/lib/python3.10/site-packages/testfixtures/outputcapture.py
/usr/lib/python3.10/site-packages/testfixtures/popen.py
/usr/lib/python3.10/site-packages/testfixtures/replace.py
/usr/lib/python3.10/site-packages/testfixtures/resolve.py
/usr/lib/python3.10/site-packages/testfixtures/rmtree.py
/usr/lib/python3.10/site-packages/testfixtures/shouldraise.py
/usr/lib/python3.10/site-packages/testfixtures/shouldwarn.py
/usr/lib/python3.10/site-packages/testfixtures/sybil.py
/usr/lib/python3.10/site-packages/testfixtures/tdatetime.py
/usr/lib/python3.10/site-packages/testfixtures/tempdirectory.py
/usr/lib/python3.10/site-packages/testfixtures/tests
/usr/lib/python3.10/site-packages/testfixtures/tests/__init__.py
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/conftest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/conftest.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/sample1.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/sample1.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/sample2.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/sample2.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_compare.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_compare.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_comparison.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_comparison.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_components.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_components.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_date.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_date.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_datetime.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_datetime.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_diff.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_diff.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_generator.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_generator.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_log_capture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_log_capture.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_logcapture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_logcapture.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_mappingcomparison.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_mappingcomparison.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_mock.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_mock.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_outputcapture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_outputcapture.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_popen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_popen.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_popen_docs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_popen_docs.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_rangecomparison.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_rangecomparison.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_replace.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_replace.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_replacer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_replacer.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_roundcomparison.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_roundcomparison.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_sequencecomparison.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_sequencecomparison.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_should_raise.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_should_raise.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_shouldwarn.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_shouldwarn.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_stringcomparison.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_stringcomparison.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_sybil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_sybil.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_tempdir.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_tempdir.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_tempdirectory.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_tempdirectory.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_time.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_time.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_twisted.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_twisted.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_wrap.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/__pycache__/test_wrap.cpython-310.pyc
/usr/lib/python3.10/site-packages/testfixtures/tests/conftest.py
/usr/lib/python3.10/site-packages/testfixtures/tests/sample1.py
/usr/lib/python3.10/site-packages/testfixtures/tests/sample2.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_compare.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_comparison.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_components.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_date.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_datetime.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_diff.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_generator.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_log_capture.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_logcapture.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_mappingcomparison.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_mock.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_outputcapture.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_popen.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_popen_docs.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_rangecomparison.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_replace.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_replacer.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_roundcomparison.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_sequencecomparison.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_should_raise.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_shouldwarn.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_stringcomparison.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_sybil.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_tempdir.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_tempdirectory.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_time.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_twisted.py
/usr/lib/python3.10/site-packages/testfixtures/tests/test_wrap.py
/usr/lib/python3.10/site-packages/testfixtures/twisted.py
/usr/lib/python3.10/site-packages/testfixtures/utils.py
/usr/share/doc/python3-testfixtures
/usr/share/doc/python3-testfixtures/CHANGELOG.rst
/usr/share/doc/python3-testfixtures/README.rst
/usr/share/licenses/python3-testfixtures
/usr/share/licenses/python3-testfixtures/LICENSE.txt
References
Summary
In this tutorial we learn how to install python3-testfixtures
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).