/usr/lib/python3/dist-packages/fixtures/_fixtures/__init__.py is in python3-fixtures 1.3.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | # fixtures: Fixtures with cleanups for testing and convenience.
#
# Copyright (c) 2010, 2011, Robert Collins <robertc@robertcollins.net>
#
# Licensed under either the Apache License, Version 2.0 or the BSD 3-clause
# license at the users choice. A copy of both licenses are available in the
# project source as Apache-2.0 and BSD. You may not use this file except in
# compliance with one of these two licences.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# license you chose for the specific language governing permissions and
# limitations under that license.
"""Included fixtures."""
__all__ = [
'ByteStream',
'DetailStream',
'EnvironmentVariable',
'EnvironmentVariableFixture',
'FakeLogger',
'FakePopen',
'LoggerFixture',
'LogHandler',
'MockPatch',
'MockPatchMultiple',
'MockPatchObject',
'MonkeyPatch',
'NestedTempfile',
'PackagePathEntry',
'PopenFixture',
'PythonPackage',
'PythonPathEntry',
'StringStream',
'TempDir',
'TempHomeDir',
'Timeout',
'TimeoutException',
'WarningsCapture',
]
from fixtures._fixtures.environ import (
EnvironmentVariable,
EnvironmentVariableFixture,
)
from fixtures._fixtures.logger import (
FakeLogger,
LoggerFixture,
LogHandler,
)
from fixtures._fixtures.mockpatch import (
MockPatch,
MockPatchMultiple,
MockPatchObject,
)
from fixtures._fixtures.monkeypatch import MonkeyPatch
from fixtures._fixtures.popen import (
FakePopen,
PopenFixture,
)
from fixtures._fixtures.packagepath import PackagePathEntry
from fixtures._fixtures.pythonpackage import PythonPackage
from fixtures._fixtures.pythonpath import PythonPathEntry
from fixtures._fixtures.streams import (
ByteStream,
DetailStream,
StringStream,
)
from fixtures._fixtures.tempdir import (
NestedTempfile,
TempDir,
)
from fixtures._fixtures.temphomedir import (
TempHomeDir,
)
from fixtures._fixtures.timeout import (
Timeout,
TimeoutException,
)
from fixtures._fixtures.warnings import (
WarningsCapture,
)
|