pywincffi.dev package¶
Submodules¶
pywincffi.dev.lint module¶
Lint Utilities¶
Provides some help to pylint so static analysis can be made aware of some constants and functions that we define in headers.
-
pywincffi.dev.lint.
constants_in_file
(path)[source]¶ Returns a set of constants in the given file path
-
pywincffi.dev.lint.
functions_in_file
(path)[source]¶ Returns a set of functions defined in the given file path
pywincffi.dev.release module¶
pywincffi.dev.testutil module¶
Test Utility¶
This module is used by the unittests.
-
class
pywincffi.dev.testutil.
LibraryWrapper
(library, attributes)[source]¶ Bases:
object
Used by
TestCase.mock_library()
to replace specific attributes on a compiled library.
-
class
pywincffi.dev.testutil.
TestCase
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
A base class for all test cases. By default the core test case just provides some extra functionality.
-
REQUIRES_INTERNET
= False¶
-
classmethod
internet_connected
()[source]¶ Returns
True
if there appears to be internet access by attempting to connect to a few different domains. The first answer will be cached.
-
Module contents¶
Development Sub-Package¶
This package is used for development, testing and release purposes. It
does not contain core functionality of pywincffi and is unused by
pywincffi.core
, pywincffi.kernel32
and other similar modules.