py2docfx 0.1.15rc2025477__py3-none-any.whl → 0.1.16.dev2052678__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py2docfx/docfx_yaml/process_doctree.py +21 -34
- py2docfx/docfx_yaml/tests/test_method_arguments.py +1 -7
- py2docfx/docfx_yaml/tests/test_process_doctree.py +120 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +13 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +49 -11
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/dist.py +168 -51
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/any_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/api_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/compiler/plugin_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_database.py +22 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_pb2.py +82 -35
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/duration_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/empty_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/field_mask_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/builder.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/containers.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/decoder.py +62 -115
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_edition_defaults.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_message.py +15 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/testing_refleaks.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/type_checkers.py +5 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/well_known_types.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/json_format.py +25 -9
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message.py +26 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message_factory.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto.py +38 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto_text.py +129 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/reflection.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/runtime_version.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/source_context_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/struct_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/symbol_database.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/text_format.py +8 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/timestamp_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/type_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/unknown_fields.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/wrappers_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/application.py +51 -17
- py2docfx/venv/venv1/Lib/site-packages/msal/broker.py +18 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/cloudshell.py +5 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/managed_identity.py +5 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/sku.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/msal/token_cache.py +31 -10
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/__init__.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/cache_lock.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/filelock.py +62 -0
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/libsecret.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/token_cache.py +7 -1
- py2docfx/venv/venv1/Lib/site-packages/pyasn1_modules/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +49 -11
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/dist.py +168 -51
- py2docfx/venv/venv1/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/typing_extensions.py +999 -74
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2052678.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2052678.dist-info}/RECORD +141 -596
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +0 -283
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +0 -1153
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +0 -723
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_read.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_write.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/schema_table.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +0 -1547
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +0 -879
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/tryconnection.py +0 -30
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/_parameterized.py +0 -420
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/service.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/isapi/__init__.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +0 -809
- py2docfx/venv/venv1/Lib/site-packages/isapi/isapicon.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/advanced.py +0 -218
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +0 -116
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +0 -162
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/test.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/isapi/test/extension_simple.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +0 -191
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__about__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__init__.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__main__.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/portalocker/constants.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/portalocker/exceptions.py +0 -27
- py2docfx/venv/venv1/Lib/site-packages/portalocker/portalocker.py +0 -154
- py2docfx/venv/venv1/Lib/site-packages/portalocker/redis.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/portalocker/utils.py +0 -569
- py2docfx/venv/venv1/Lib/site-packages/pythoncom.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +0 -258
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +0 -183
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dlgappdemo.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dojobapp.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/helloapp.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/createwin.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/demoutils.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dibdemo.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dlgtest.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dyndlg.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/fontdemo.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/hiertest.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/menutest.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/msoffice.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +0 -415
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/progressbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/sliderdemo.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/splittst.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/threadedgui.py +0 -189
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/__init__.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/__init__.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -31
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgpyapp.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +0 -1097
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +0 -146
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/status.py +0 -242
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -676
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +0 -411
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/bitmap.py +0 -168
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/cmdline.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dlgappcore.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/coloreditor.py +0 -646
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/configui.py +0 -299
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -379
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/template.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +0 -173
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +0 -995
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +0 -552
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +0 -684
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +0 -749
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +0 -172
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/window.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/winout.py +0 -589
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoExpand.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +0 -536
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +0 -216
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/FormatParagraph.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/IdleHistory.py +0 -87
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/PyParse.py +0 -585
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/afxres.py +0 -501
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/docview.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/object.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/thread.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/window.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +0 -593
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +0 -180
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +0 -363
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/control.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +0 -312
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/find.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +0 -704
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +0 -190
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +0 -3083
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +0 -841
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/TraceCollector.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browseProjects.py +0 -323
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +0 -494
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +0 -353
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regedit.py +0 -382
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regpy.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CopyFileEx.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +0 -28
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +0 -32
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/FileSecurityTest.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +0 -43
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +0 -127
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegRestoreKey.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/SystemParametersInfo.py +0 -210
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +0 -42
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/desktopmanager.py +0 -246
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/eventLogDemo.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +0 -33
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/mmapfile_demo.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/cat.py +0 -17
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/print_desktop.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -170
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsaregevent.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsastore.py +0 -12
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsave_sa.py +0 -61
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsecurity.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sa_inherit.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/security_enums.py +0 -336
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -102
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +0 -199
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/serviceEvents.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/timer_demo.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +0 -117
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32cred_demo.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32fileDemo.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_demo.py +0 -177
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_dialog.py +0 -445
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +0 -464
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32rcparser_demo.py +0 -86
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32servicedemo.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +0 -123
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/winprocess.py +0 -230
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +0 -164
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/afxres.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +0 -1551
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/mmsystem.py +0 -956
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +0 -293
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/ntsecuritycon.py +0 -731
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +0 -124
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/rasutil.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regcheck.py +0 -161
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +0 -395
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +0 -413
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspicon.py +0 -477
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +0 -5064
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +0 -1922
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +0 -225
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +0 -957
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32inetcon.py +0 -1086
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32netcon.py +0 -627
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +0 -570
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +0 -674
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +0 -1073
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +0 -1201
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32traceutil.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +0 -7362
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winioctlcon.py +0 -1079
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winnt.py +0 -1347
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winperf.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/ControlService.py +0 -594
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +0 -97
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +0 -156
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +0 -201
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/backupEventLog.py +0 -46
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +0 -194
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/killProcName.py +0 -62
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/rasutil.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +0 -607
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +0 -175
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_exceptions.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_odbc.py +0 -264
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_pywintypes.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_security.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +0 -273
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -91
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +0 -144
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32event.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +0 -1096
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +0 -333
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +0 -108
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32pipe.py +0 -148
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32print.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32profile.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32rcparser.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32timezone.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32trace.py +0 -366
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32wnet.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/test/testall.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32com/__init__.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +0 -717
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +0 -771
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +0 -604
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/connect.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +0 -699
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +0 -825
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +0 -1350
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +0 -453
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +0 -182
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/tlbrowse.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/connect.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +0 -92
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +0 -434
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -214
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +0 -368
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/trybag.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +0 -618
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +0 -331
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +0 -1017
- py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +0 -239
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/factory.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/localserver.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +0 -803
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +0 -677
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/util.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/PythonTools.py +0 -47
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/perfmon.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -181
- py2docfx/venv/venv1/Lib/site-packages/win32com/storagecon.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/daodump.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/policySemantics.py +0 -115
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +0 -44
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAccess.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testArrays.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testClipboard.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testCollections.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testConversionErrors.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDCOM.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDates.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExplorer.py +0 -139
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGIT.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +0 -149
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +0 -140
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMarshal.py +0 -160
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +0 -918
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testROT.py +0 -29
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testShell.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStorage.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStreams.py +0 -147
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testWMI.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +0 -320
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvbscript_regexp.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testxslt.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +0 -224
- py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/__init__.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/adsicon.py +0 -340
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/test.py +0 -274
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -219
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axcontrol/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +0 -467
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +0 -238
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/gateways.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/stackframe.py +0 -178
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/asputil.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +0 -1291
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +0 -438
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost.py +0 -240
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_record.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_test.py +0 -402
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +0 -300
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/ifiltercon.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/inetcon.py +0 -261
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/__init__.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +0 -875
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +0 -1023
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +0 -211
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/pscon.py +0 -838
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +0 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +0 -179
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +0 -67
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +0 -93
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +0 -56
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +0 -45
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/create_link.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/dump_link.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -125
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +0 -84
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +0 -866
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +0 -81
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +0 -971
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/viewstate.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/shellcon.py +0 -1615
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +0 -75
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellFolder.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellItem.py +0 -69
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +0 -3
- py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Scripts/pywin32_testall.py +0 -120
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2052678.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2052678.dist-info}/top_level.txt +0 -0
@@ -1,583 +0,0 @@
|
|
1
|
-
# Test code for a VB Program.
|
2
|
-
#
|
3
|
-
# This requires the PythonCOM VB Test Harness.
|
4
|
-
#
|
5
|
-
|
6
|
-
import traceback
|
7
|
-
from collections.abc import Callable
|
8
|
-
|
9
|
-
import pythoncom
|
10
|
-
import win32com.client
|
11
|
-
import win32com.client.dynamic
|
12
|
-
import win32com.client.gencache
|
13
|
-
import winerror
|
14
|
-
from win32com.server.util import wrap
|
15
|
-
from win32com.test import util
|
16
|
-
|
17
|
-
# for debugging
|
18
|
-
useDispatcher = None
|
19
|
-
# import win32com.server.dispatcher
|
20
|
-
# useDispatcher = win32com.server.dispatcher.DefaultDebugDispatcher
|
21
|
-
|
22
|
-
|
23
|
-
# Set up a COM object that VB will do some callbacks on. This is used
|
24
|
-
# to test byref params for gateway IDispatch.
|
25
|
-
class TestObject:
|
26
|
-
_public_methods_ = [
|
27
|
-
"CallbackVoidOneByRef",
|
28
|
-
"CallbackResultOneByRef",
|
29
|
-
"CallbackVoidTwoByRef",
|
30
|
-
"CallbackString",
|
31
|
-
"CallbackResultOneByRefButReturnNone",
|
32
|
-
"CallbackVoidOneByRefButReturnNone",
|
33
|
-
"CallbackArrayResult",
|
34
|
-
"CallbackArrayResultOneArrayByRef",
|
35
|
-
"CallbackArrayResultWrongSize",
|
36
|
-
]
|
37
|
-
|
38
|
-
def CallbackVoidOneByRef(self, intVal):
|
39
|
-
return intVal + 1
|
40
|
-
|
41
|
-
def CallbackResultOneByRef(self, intVal):
|
42
|
-
return intVal, intVal + 1
|
43
|
-
|
44
|
-
def CallbackVoidTwoByRef(self, int1, int2):
|
45
|
-
return int1 + int2, int1 - int2
|
46
|
-
|
47
|
-
def CallbackString(self, strVal):
|
48
|
-
return 0, strVal + " has visited Python"
|
49
|
-
|
50
|
-
def CallbackArrayResult(self, arrayVal):
|
51
|
-
ret = []
|
52
|
-
for i in arrayVal:
|
53
|
-
ret.append(i + 1)
|
54
|
-
# returning as a list forces it be processed as a single result
|
55
|
-
# (rather than a tuple, where it may be interpreted as
|
56
|
-
# multiple results for byref unpacking)
|
57
|
-
return ret
|
58
|
-
|
59
|
-
def CallbackArrayResultWrongSize(self, arrayVal):
|
60
|
-
return list(arrayVal[:-1])
|
61
|
-
|
62
|
-
def CallbackArrayResultOneArrayByRef(self, arrayVal):
|
63
|
-
ret = []
|
64
|
-
for i in arrayVal:
|
65
|
-
ret.append(i + 1)
|
66
|
-
# See above for list processing.
|
67
|
-
return list(arrayVal), ret
|
68
|
-
|
69
|
-
def CallbackResultOneByRefButReturnNone(self, intVal):
|
70
|
-
return
|
71
|
-
|
72
|
-
def CallbackVoidOneByRefButReturnNone(self, intVal):
|
73
|
-
return
|
74
|
-
|
75
|
-
|
76
|
-
def TestVB(vbtest, bUseGenerated):
|
77
|
-
vbtest.LongProperty = -1
|
78
|
-
assert vbtest.LongProperty == -1, "Could not set the long property correctly."
|
79
|
-
vbtest.IntProperty = 10
|
80
|
-
assert vbtest.IntProperty == 10, "Could not set the integer property correctly."
|
81
|
-
vbtest.VariantProperty = 10
|
82
|
-
assert (
|
83
|
-
vbtest.VariantProperty == 10
|
84
|
-
), "Could not set the variant integer property correctly."
|
85
|
-
vbtest.VariantProperty = memoryview(b"raw\0data")
|
86
|
-
assert vbtest.VariantProperty == memoryview(
|
87
|
-
b"raw\0data"
|
88
|
-
), "Could not set the variant buffer property correctly."
|
89
|
-
vbtest.StringProperty = "Hello from Python"
|
90
|
-
assert (
|
91
|
-
vbtest.StringProperty == "Hello from Python"
|
92
|
-
), "Could not set the string property correctly."
|
93
|
-
vbtest.VariantProperty = "Hello from Python"
|
94
|
-
assert (
|
95
|
-
vbtest.VariantProperty == "Hello from Python"
|
96
|
-
), "Could not set the variant string property correctly."
|
97
|
-
vbtest.VariantProperty = (1.0, 2.0, 3.0)
|
98
|
-
assert (
|
99
|
-
vbtest.VariantProperty
|
100
|
-
== (
|
101
|
-
1.0,
|
102
|
-
2.0,
|
103
|
-
3.0,
|
104
|
-
)
|
105
|
-
), f"Could not set the variant property to an array of floats correctly - '{vbtest.VariantProperty}'."
|
106
|
-
|
107
|
-
TestArrays(vbtest, bUseGenerated)
|
108
|
-
TestStructs(vbtest)
|
109
|
-
TestCollections(vbtest)
|
110
|
-
|
111
|
-
assert vbtest.TakeByValObject(vbtest) == vbtest
|
112
|
-
|
113
|
-
# Python doesn't support PUTREF properties without a typeref
|
114
|
-
# (although we could)
|
115
|
-
if bUseGenerated:
|
116
|
-
ob = vbtest.TakeByRefObject(vbtest)
|
117
|
-
assert ob[0] == vbtest and ob[1] == vbtest
|
118
|
-
|
119
|
-
# A property that only has PUTREF defined.
|
120
|
-
vbtest.VariantPutref = vbtest
|
121
|
-
assert (
|
122
|
-
vbtest.VariantPutref._oleobj_ == vbtest._oleobj_
|
123
|
-
), "Could not set the VariantPutref property correctly."
|
124
|
-
# Can't test further types for this VariantPutref, as only
|
125
|
-
# COM objects can be stored ByRef.
|
126
|
-
|
127
|
-
# A "set" type property - only works for generated.
|
128
|
-
# VB recognizes a collection via a few "private" interfaces that we
|
129
|
-
# could later build support in for.
|
130
|
-
# vbtest.CollectionProperty = NewCollection((1, 2, "3", "Four"))
|
131
|
-
# assert vbtest.CollectionProperty == (
|
132
|
-
# 1, 2, "3", "Four",
|
133
|
-
# ), f"Could not set the Collection property correctly - got back {vbtest.CollectionProperty}"
|
134
|
-
|
135
|
-
# These are sub's that have a single byref param
|
136
|
-
# Result should be just the byref.
|
137
|
-
assert vbtest.IncrementIntegerParam(1) == 2, "Could not pass an integer byref"
|
138
|
-
|
139
|
-
# Sigh - we can't have *both* "ommited byref" and optional args
|
140
|
-
# We really have to opt that args nominated as optional work as optional
|
141
|
-
# rather than simply all byrefs working as optional.
|
142
|
-
# assert vbtest.IncrementIntegerParam() == 1, "Could not pass an omitted integer byref"
|
143
|
-
|
144
|
-
assert (
|
145
|
-
vbtest.IncrementVariantParam(1) == 2
|
146
|
-
), f"Could not pass an int VARIANT byref: {vbtest.IncrementVariantParam(1)}"
|
147
|
-
assert (
|
148
|
-
vbtest.IncrementVariantParam(1.5) == 2.5
|
149
|
-
), "Could not pass a float VARIANT byref"
|
150
|
-
|
151
|
-
# Can't test IncrementVariantParam with the param omitted as it
|
152
|
-
# it not declared in the VB code as "Optional"
|
153
|
-
callback_ob = wrap(TestObject(), useDispatcher=useDispatcher)
|
154
|
-
vbtest.DoSomeCallbacks(callback_ob)
|
155
|
-
|
156
|
-
ret = vbtest.PassIntByVal(1)
|
157
|
-
assert ret == 2, f"Could not increment the integer - {ret}"
|
158
|
-
|
159
|
-
TestVBInterface(vbtest)
|
160
|
-
# Python doesn't support byrefs without some sort of generated support.
|
161
|
-
if bUseGenerated:
|
162
|
-
# This is a VB function that takes a single byref
|
163
|
-
# Hence 2 return values - function and byref.
|
164
|
-
ret = vbtest.PassIntByRef(1)
|
165
|
-
assert ret == (1, 2), f"Could not increment the integer - {ret}"
|
166
|
-
# Check you can leave a byref arg blank.
|
167
|
-
|
168
|
-
# see above
|
169
|
-
# ret = vbtest.PassIntByRef()
|
170
|
-
# assert ret == (0, 1), f"Could not increment the integer with default arg - {ret}"
|
171
|
-
|
172
|
-
|
173
|
-
def _DoTestCollection(vbtest, col_name, expected):
|
174
|
-
# It sucks that some objects allow "Count()", but others "Count"
|
175
|
-
def _getcount(ob):
|
176
|
-
r = getattr(ob, "Count")
|
177
|
-
if isinstance(r, Callable):
|
178
|
-
return r()
|
179
|
-
return r
|
180
|
-
|
181
|
-
c = getattr(vbtest, col_name)
|
182
|
-
check = []
|
183
|
-
for item in c:
|
184
|
-
check.append(item)
|
185
|
-
assert check == list(
|
186
|
-
expected
|
187
|
-
), f"Collection {col_name} didn't have {expected!r} (had {check!r})"
|
188
|
-
# Just looping over the collection again works (ie, is restartable)
|
189
|
-
check = []
|
190
|
-
for item in c:
|
191
|
-
check.append(item)
|
192
|
-
assert check == list(
|
193
|
-
expected
|
194
|
-
), f"Collection 2nd time around {col_name} didn't have {expected!r} (had {check!r})"
|
195
|
-
|
196
|
-
# Check we can get it via iter()
|
197
|
-
i = iter(getattr(vbtest, col_name))
|
198
|
-
check = []
|
199
|
-
for item in i:
|
200
|
-
check.append(item)
|
201
|
-
assert (
|
202
|
-
check == list(expected)
|
203
|
-
), f"Collection iterator {col_name} didn't have {expected!r} 2nd time around (had {check!r})"
|
204
|
-
# but an iterator is not restartable
|
205
|
-
check = []
|
206
|
-
for item in i:
|
207
|
-
check.append(item)
|
208
|
-
assert (
|
209
|
-
check == []
|
210
|
-
), "2nd time around Collection iterator {col_name} wasn't empty (had {check!r})"
|
211
|
-
# Check len()==Count()
|
212
|
-
c = getattr(vbtest, col_name)
|
213
|
-
assert len(c) == _getcount(
|
214
|
-
c
|
215
|
-
), f"Collection {col_name} __len__({len(c)!r}) wasn't==Count({_getcount(c)!r})"
|
216
|
-
# Check we can do it with zero based indexing.
|
217
|
-
c = getattr(vbtest, col_name)
|
218
|
-
check = []
|
219
|
-
for i in range(_getcount(c)):
|
220
|
-
check.append(c[i])
|
221
|
-
assert check == list(
|
222
|
-
expected
|
223
|
-
), f"Collection {col_name} didn't have {expected!r} (had {check!r})"
|
224
|
-
|
225
|
-
# Check we can do it with our old "Skip/Next" methods.
|
226
|
-
c = getattr(vbtest, col_name)._NewEnum()
|
227
|
-
check = []
|
228
|
-
while 1:
|
229
|
-
n = c.Next()
|
230
|
-
if not n:
|
231
|
-
break
|
232
|
-
check.append(n[0])
|
233
|
-
assert check == list(
|
234
|
-
expected
|
235
|
-
), f"Collection {col_name} didn't have {expected!r} (had {check!r})"
|
236
|
-
|
237
|
-
|
238
|
-
def TestCollections(vbtest):
|
239
|
-
_DoTestCollection(vbtest, "CollectionProperty", [1, "Two", "3"])
|
240
|
-
# zero based indexing works for simple VB collections.
|
241
|
-
assert (
|
242
|
-
vbtest.CollectionProperty[0] == 1
|
243
|
-
), "The CollectionProperty[0] element was not the default value"
|
244
|
-
|
245
|
-
_DoTestCollection(vbtest, "EnumerableCollectionProperty", [])
|
246
|
-
vbtest.EnumerableCollectionProperty.Add(1)
|
247
|
-
vbtest.EnumerableCollectionProperty.Add("Two")
|
248
|
-
vbtest.EnumerableCollectionProperty.Add("3")
|
249
|
-
_DoTestCollection(vbtest, "EnumerableCollectionProperty", [1, "Two", "3"])
|
250
|
-
|
251
|
-
|
252
|
-
def _DoTestArray(vbtest, data, expected_exception=None):
|
253
|
-
try:
|
254
|
-
vbtest.ArrayProperty = data
|
255
|
-
assert expected_exception is None, f"Expected '{expected_exception}'"
|
256
|
-
except expected_exception:
|
257
|
-
return
|
258
|
-
got = vbtest.ArrayProperty
|
259
|
-
assert (
|
260
|
-
got == data
|
261
|
-
), f"Could not set the array data correctly - got {got!r}, expected {data!r}"
|
262
|
-
|
263
|
-
|
264
|
-
def TestArrays(vbtest, bUseGenerated):
|
265
|
-
# Try and use a safe array (note that the VB code has this declared as a VARIANT
|
266
|
-
# and I can't work out how to force it to use native arrays!
|
267
|
-
# (NOTE Python will convert incoming arrays to tuples, so we pass a tuple, even tho
|
268
|
-
# a list works fine - just makes it easier for us to compare the result!
|
269
|
-
# Empty array
|
270
|
-
_DoTestArray(vbtest, ())
|
271
|
-
# Empty child array
|
272
|
-
_DoTestArray(vbtest, ((), ()))
|
273
|
-
# ints
|
274
|
-
_DoTestArray(vbtest, tuple(range(1, 100)))
|
275
|
-
# Floats
|
276
|
-
_DoTestArray(vbtest, (1.0, 2.0, 3.0))
|
277
|
-
# Strings.
|
278
|
-
_DoTestArray(vbtest, tuple("Hello from Python".split()))
|
279
|
-
# Date and Time?
|
280
|
-
# COM objects.
|
281
|
-
_DoTestArray(vbtest, (vbtest, vbtest))
|
282
|
-
# Mixed
|
283
|
-
_DoTestArray(vbtest, (1, 2.0, "3"))
|
284
|
-
# Array alements containing other arrays
|
285
|
-
_DoTestArray(vbtest, (1, (vbtest, vbtest), ("3", "4")))
|
286
|
-
# Multi-dimensional
|
287
|
-
_DoTestArray(vbtest, (((1, 2, 3), (4, 5, 6))))
|
288
|
-
_DoTestArray(vbtest, (((vbtest, vbtest, vbtest), (vbtest, vbtest, vbtest))))
|
289
|
-
# Another dimension!
|
290
|
-
arrayData = (((1, 2), (3, 4), (5, 6)), ((7, 8), (9, 10), (11, 12)))
|
291
|
-
arrayData = (
|
292
|
-
((vbtest, vbtest), (vbtest, vbtest), (vbtest, vbtest)),
|
293
|
-
((vbtest, vbtest), (vbtest, vbtest), (vbtest, vbtest)),
|
294
|
-
)
|
295
|
-
_DoTestArray(vbtest, arrayData)
|
296
|
-
|
297
|
-
# Check that when a '__getitem__ that fails' object is the first item
|
298
|
-
# in the structure, we don't mistake it for a sequence.
|
299
|
-
_DoTestArray(vbtest, (vbtest, 2.0, "3"))
|
300
|
-
_DoTestArray(vbtest, (1, 2.0, vbtest))
|
301
|
-
|
302
|
-
# Pass arbitrarily sized arrays - these used to fail, but thanks to
|
303
|
-
# Stefan Schukat, they now work!
|
304
|
-
expected_exception = None
|
305
|
-
arrayData = (((1, 2, 1), (3, 4), (5, 6)), ((7, 8), (9, 10), (11, 12)))
|
306
|
-
_DoTestArray(vbtest, arrayData, expected_exception)
|
307
|
-
arrayData = (((vbtest, vbtest),), ((vbtest,),))
|
308
|
-
_DoTestArray(vbtest, arrayData, expected_exception)
|
309
|
-
# Pass bad data - last item wrong size
|
310
|
-
arrayData = (((1, 2), (3, 4), (5, 6, 8)), ((7, 8), (9, 10), (11, 12)))
|
311
|
-
_DoTestArray(vbtest, arrayData, expected_exception)
|
312
|
-
|
313
|
-
# byref safearray results with incorrect size.
|
314
|
-
callback_ob = wrap(TestObject(), useDispatcher=useDispatcher)
|
315
|
-
print("** Expecting a 'ValueError' exception to be printed next:")
|
316
|
-
try:
|
317
|
-
vbtest.DoCallbackSafeArraySizeFail(callback_ob)
|
318
|
-
except pythoncom.com_error as exc:
|
319
|
-
assert (
|
320
|
-
exc.excepinfo[1] == "Python COM Server Internal Error"
|
321
|
-
), f"Didn't get the correct exception - '{exc}'"
|
322
|
-
|
323
|
-
if bUseGenerated:
|
324
|
-
# This one is a bit strange! The array param is "ByRef", as VB insists.
|
325
|
-
# The function itself also _returns_ the arram param.
|
326
|
-
# Therefore, Python sees _2_ result values - one for the result,
|
327
|
-
# and one for the byref.
|
328
|
-
testData = "Mark was here".split()
|
329
|
-
resultData, byRefParam = vbtest.PassSAFEARRAY(testData)
|
330
|
-
assert testData == list(
|
331
|
-
resultData
|
332
|
-
), f"The safe array data was not what we expected - got {resultData}"
|
333
|
-
assert testData == list(
|
334
|
-
byRefParam
|
335
|
-
), f"The safe array data was not what we expected - got {byRefParam}"
|
336
|
-
testData = [1.0, 2.0, 3.0]
|
337
|
-
resultData, byRefParam = vbtest.PassSAFEARRAYVariant(testData)
|
338
|
-
assert testData == list(byRefParam)
|
339
|
-
assert testData == list(resultData)
|
340
|
-
testData = ["hi", "from", "Python"]
|
341
|
-
resultData, byRefParam = vbtest.PassSAFEARRAYVariant(testData)
|
342
|
-
assert testData == list(byRefParam), "Expected '{}', got '{}'".format(
|
343
|
-
testData,
|
344
|
-
list(byRefParam),
|
345
|
-
)
|
346
|
-
assert testData == list(resultData), "Expected '{}', got '{}'".format(
|
347
|
-
testData,
|
348
|
-
list(resultData),
|
349
|
-
)
|
350
|
-
# This time, we just pass Unicode, so the result should compare equal
|
351
|
-
testData = [1, 2.0, "3"]
|
352
|
-
resultData, byRefParam = vbtest.PassSAFEARRAYVariant(testData)
|
353
|
-
assert testData == list(byRefParam)
|
354
|
-
assert testData == list(resultData)
|
355
|
-
print("Array tests passed")
|
356
|
-
|
357
|
-
|
358
|
-
def TestStructs(vbtest):
|
359
|
-
try:
|
360
|
-
vbtest.IntProperty = "One"
|
361
|
-
raise AssertionError("Should have failed by now")
|
362
|
-
except pythoncom.com_error as exc:
|
363
|
-
assert (
|
364
|
-
exc.hresult == winerror.DISP_E_TYPEMISMATCH
|
365
|
-
), "Expected DISP_E_TYPEMISMATCH"
|
366
|
-
|
367
|
-
s = vbtest.StructProperty
|
368
|
-
assert (
|
369
|
-
s.int_val == 99 and str(s.str_val) == "hello"
|
370
|
-
), "The struct value was not correct"
|
371
|
-
s.str_val = "Hi from Python"
|
372
|
-
s.int_val = 11
|
373
|
-
assert (
|
374
|
-
s.int_val == 11 and str(s.str_val) == "Hi from Python"
|
375
|
-
), "The struct value didn't persist!"
|
376
|
-
assert (
|
377
|
-
s.sub_val.int_val == 66 and str(s.sub_val.str_val) == "sub hello"
|
378
|
-
), "The sub-struct value was not correct"
|
379
|
-
sub = s.sub_val
|
380
|
-
sub.int_val = 22
|
381
|
-
assert sub.int_val == 22, (
|
382
|
-
f"The sub-struct value didn't persist!",
|
383
|
-
str(sub.int_val),
|
384
|
-
)
|
385
|
-
assert s.sub_val.int_val == 22, (
|
386
|
-
"The sub-struct value (re-fetched) didn't persist!",
|
387
|
-
str(s.sub_val.int_val),
|
388
|
-
)
|
389
|
-
assert (
|
390
|
-
s.sub_val.array_val[0].int_val == 0
|
391
|
-
and str(s.sub_val.array_val[0].str_val) == "zero"
|
392
|
-
), ("The array element wasn't correct", str(s.sub_val.array_val[0].int_val))
|
393
|
-
s.sub_val.array_val[0].int_val = 99
|
394
|
-
s.sub_val.array_val[1].int_val = 66
|
395
|
-
assert (
|
396
|
-
s.sub_val.array_val[0].int_val == 99 and s.sub_val.array_val[1].int_val == 66
|
397
|
-
), (
|
398
|
-
"The array elements didn't persist.",
|
399
|
-
str(s.sub_val.array_val[0].int_val),
|
400
|
-
str(s.sub_val.array_val[1].int_val),
|
401
|
-
)
|
402
|
-
# Now pass the struct back to VB
|
403
|
-
vbtest.StructProperty = s
|
404
|
-
# And get it back again
|
405
|
-
s = vbtest.StructProperty
|
406
|
-
assert (
|
407
|
-
s.int_val == 11 and str(s.str_val) == "Hi from Python"
|
408
|
-
), "After sending to VB, the struct value didn't persist!"
|
409
|
-
assert (
|
410
|
-
s.sub_val.array_val[0].int_val == 99
|
411
|
-
), "After sending to VB, the struct array value didn't persist!"
|
412
|
-
|
413
|
-
# Now do some object equality tests.
|
414
|
-
assert s == s
|
415
|
-
assert s is not None
|
416
|
-
try:
|
417
|
-
s < None
|
418
|
-
raise AssertionError("Expected type error")
|
419
|
-
except TypeError:
|
420
|
-
pass
|
421
|
-
try:
|
422
|
-
None < s
|
423
|
-
raise AssertionError("Expected type error")
|
424
|
-
except TypeError:
|
425
|
-
pass
|
426
|
-
assert s != s.sub_val
|
427
|
-
import copy
|
428
|
-
|
429
|
-
s2 = copy.copy(s)
|
430
|
-
assert s is not s2
|
431
|
-
assert s == s2
|
432
|
-
s2.int_val = 123
|
433
|
-
assert s != s2
|
434
|
-
# Make sure everything works with functions
|
435
|
-
s2 = vbtest.GetStructFunc()
|
436
|
-
assert s == s2
|
437
|
-
vbtest.SetStructSub(s2)
|
438
|
-
|
439
|
-
# Create a new structure, and set its elements.
|
440
|
-
s = win32com.client.Record("VBStruct", vbtest)
|
441
|
-
assert s.int_val == 0, "new struct inst initialized correctly!"
|
442
|
-
s.int_val = -1
|
443
|
-
vbtest.SetStructSub(s)
|
444
|
-
assert (
|
445
|
-
vbtest.GetStructFunc().int_val == -1
|
446
|
-
), "new struct didn't make the round trip!"
|
447
|
-
# Finally, test stand-alone structure arrays.
|
448
|
-
s_array = vbtest.StructArrayProperty
|
449
|
-
assert s_array is None, "Expected None from the uninitialized VB array"
|
450
|
-
vbtest.MakeStructArrayProperty(3)
|
451
|
-
s_array = vbtest.StructArrayProperty
|
452
|
-
assert len(s_array) == 3
|
453
|
-
for i in range(len(s_array)):
|
454
|
-
assert s_array[i].int_val == i
|
455
|
-
assert s_array[i].sub_val.int_val == i
|
456
|
-
assert s_array[i].sub_val.array_val[0].int_val == i
|
457
|
-
assert s_array[i].sub_val.array_val[1].int_val == i + 1
|
458
|
-
assert s_array[i].sub_val.array_val[2].int_val == i + 2
|
459
|
-
|
460
|
-
# Some error type checks.
|
461
|
-
try:
|
462
|
-
s.bad_attribute
|
463
|
-
raise AssertionError("Could get a bad attribute")
|
464
|
-
except AttributeError:
|
465
|
-
pass
|
466
|
-
m = s.__members__
|
467
|
-
assert (
|
468
|
-
m[0] == "int_val"
|
469
|
-
and m[1] == "str_val"
|
470
|
-
and m[2] == "ob_val"
|
471
|
-
and m[3] == "sub_val"
|
472
|
-
), m
|
473
|
-
|
474
|
-
# Test attribute errors.
|
475
|
-
try:
|
476
|
-
s.foo
|
477
|
-
raise AssertionError("Expected attribute error")
|
478
|
-
except AttributeError as exc:
|
479
|
-
assert "foo" in str(exc), exc
|
480
|
-
|
481
|
-
# test repr - it uses repr() of the sub-objects, so check it matches.
|
482
|
-
expected = (
|
483
|
-
"com_struct(int_val={!r}, str_val={!r}, ob_val={!r}, sub_val={!r})".format(
|
484
|
-
s.int_val,
|
485
|
-
s.str_val,
|
486
|
-
s.ob_val,
|
487
|
-
s.sub_val,
|
488
|
-
)
|
489
|
-
)
|
490
|
-
repr_s = repr(s)
|
491
|
-
if repr_s != expected:
|
492
|
-
print("Expected repr:", expected)
|
493
|
-
print("Actual repr :", repr_s)
|
494
|
-
raise AssertionError("repr() of record object failed")
|
495
|
-
|
496
|
-
print("Struct/Record tests passed")
|
497
|
-
|
498
|
-
|
499
|
-
def TestVBInterface(ob):
|
500
|
-
t = ob.GetInterfaceTester(2)
|
501
|
-
assert t.getn() == 2, "Initial value wrong"
|
502
|
-
t.setn(3)
|
503
|
-
assert t.getn() == 3, "New value wrong"
|
504
|
-
|
505
|
-
|
506
|
-
def TestObjectSemantics(ob):
|
507
|
-
# a convenient place to test some of our equality semantics
|
508
|
-
assert ob == ob._oleobj_
|
509
|
-
assert not ob != ob._oleobj_
|
510
|
-
# same test again, but lhs and rhs reversed.
|
511
|
-
assert ob._oleobj_ == ob
|
512
|
-
assert not ob._oleobj_ != ob
|
513
|
-
# same tests but against different pointers. COM identity rules should
|
514
|
-
# still ensure all works
|
515
|
-
assert ob._oleobj_ == ob._oleobj_.QueryInterface(pythoncom.IID_IUnknown)
|
516
|
-
assert not ob._oleobj_ != ob._oleobj_.QueryInterface(pythoncom.IID_IUnknown)
|
517
|
-
|
518
|
-
assert ob._oleobj_ is not None
|
519
|
-
assert None != ob._oleobj_
|
520
|
-
assert ob is not None
|
521
|
-
assert None != ob
|
522
|
-
try:
|
523
|
-
ob < None
|
524
|
-
raise AssertionError("Expected type error")
|
525
|
-
except TypeError:
|
526
|
-
pass
|
527
|
-
try:
|
528
|
-
None < ob
|
529
|
-
raise AssertionError("Expected type error")
|
530
|
-
except TypeError:
|
531
|
-
pass
|
532
|
-
|
533
|
-
assert ob._oleobj_.QueryInterface(pythoncom.IID_IUnknown) == ob._oleobj_
|
534
|
-
assert not ob._oleobj_.QueryInterface(pythoncom.IID_IUnknown) != ob._oleobj_
|
535
|
-
|
536
|
-
assert ob._oleobj_ == ob._oleobj_.QueryInterface(pythoncom.IID_IDispatch)
|
537
|
-
assert not ob._oleobj_ != ob._oleobj_.QueryInterface(pythoncom.IID_IDispatch)
|
538
|
-
|
539
|
-
assert ob._oleobj_.QueryInterface(pythoncom.IID_IDispatch) == ob._oleobj_
|
540
|
-
assert not ob._oleobj_.QueryInterface(pythoncom.IID_IDispatch) != ob._oleobj_
|
541
|
-
|
542
|
-
print("Object semantic tests passed")
|
543
|
-
|
544
|
-
|
545
|
-
def DoTestAll():
|
546
|
-
o = win32com.client.Dispatch("PyCOMVBTest.Tester")
|
547
|
-
TestObjectSemantics(o)
|
548
|
-
TestVB(o, 1)
|
549
|
-
|
550
|
-
o = win32com.client.dynamic.DumbDispatch("PyCOMVBTest.Tester")
|
551
|
-
TestObjectSemantics(o)
|
552
|
-
TestVB(o, 0)
|
553
|
-
|
554
|
-
|
555
|
-
def TestAll():
|
556
|
-
# Import the type library for the test module. Let the 'invalid clsid'
|
557
|
-
# exception filter up, where the test runner will treat it as 'skipped'
|
558
|
-
win32com.client.gencache.EnsureDispatch("PyCOMVBTest.Tester")
|
559
|
-
|
560
|
-
if not __debug__:
|
561
|
-
raise RuntimeError("This must be run in debug mode - we use assert!")
|
562
|
-
try:
|
563
|
-
DoTestAll()
|
564
|
-
print("All tests appear to have worked!")
|
565
|
-
except:
|
566
|
-
# ?????
|
567
|
-
print("TestAll() failed!!")
|
568
|
-
traceback.print_exc()
|
569
|
-
raise
|
570
|
-
|
571
|
-
|
572
|
-
# Make this test run under our test suite to leak tests etc work
|
573
|
-
def suite():
|
574
|
-
import unittest
|
575
|
-
|
576
|
-
test = util.CapturingFunctionTestCase(TestAll, description="VB tests")
|
577
|
-
suite = unittest.TestSuite()
|
578
|
-
suite.addTest(test)
|
579
|
-
return suite
|
580
|
-
|
581
|
-
|
582
|
-
if __name__ == "__main__":
|
583
|
-
util.testmain()
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import unittest
|
2
|
-
|
3
|
-
import win32com.test.util
|
4
|
-
from win32com.client.dynamic import DumbDispatch
|
5
|
-
from win32com.client.gencache import EnsureDispatch
|
6
|
-
|
7
|
-
|
8
|
-
class RegexTest(win32com.test.util.TestCase):
|
9
|
-
def _CheckMatches(self, match, expected):
|
10
|
-
found = []
|
11
|
-
for imatch in match:
|
12
|
-
found.append(imatch.FirstIndex)
|
13
|
-
self.assertEqual(list(found), list(expected))
|
14
|
-
|
15
|
-
def _TestVBScriptRegex(self, re):
|
16
|
-
StringToSearch = r"Python python pYthon Python"
|
17
|
-
re.Pattern = r"Python"
|
18
|
-
re.Global = True
|
19
|
-
|
20
|
-
re.IgnoreCase = True
|
21
|
-
match = re.Execute(StringToSearch)
|
22
|
-
expected = 0, 7, 14, 21
|
23
|
-
self._CheckMatches(match, expected)
|
24
|
-
|
25
|
-
re.IgnoreCase = False
|
26
|
-
match = re.Execute(StringToSearch)
|
27
|
-
expected = 0, 21
|
28
|
-
self._CheckMatches(match, expected)
|
29
|
-
|
30
|
-
def testDynamic(self):
|
31
|
-
re = DumbDispatch("VBScript.Regexp")
|
32
|
-
self._TestVBScriptRegex(re)
|
33
|
-
|
34
|
-
def testGenerated(self):
|
35
|
-
re = EnsureDispatch("VBScript.Regexp")
|
36
|
-
self._TestVBScriptRegex(re)
|
37
|
-
|
38
|
-
|
39
|
-
if __name__ == "__main__":
|
40
|
-
unittest.main()
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import os
|
2
|
-
import tempfile
|
3
|
-
import unittest
|
4
|
-
|
5
|
-
import win32com.test.util
|
6
|
-
|
7
|
-
expected_output = "The jscript test worked.\nThe Python test worked"
|
8
|
-
|
9
|
-
|
10
|
-
class XSLT(win32com.test.util.TestCase):
|
11
|
-
def testAll(self):
|
12
|
-
output_name = tempfile.mktemp("-pycom-test")
|
13
|
-
cmd = (
|
14
|
-
"cscript //nologo testxslt.js doesnt_matter.xml testxslt.xsl " + output_name
|
15
|
-
)
|
16
|
-
win32com.test.util.ExecuteShellCommand(cmd, self)
|
17
|
-
try:
|
18
|
-
f = open(output_name)
|
19
|
-
try:
|
20
|
-
got = f.read()
|
21
|
-
if got != expected_output:
|
22
|
-
print(f"ERROR: XSLT expected output of {expected_output!r}")
|
23
|
-
print(f"but got {got!r}")
|
24
|
-
finally:
|
25
|
-
f.close()
|
26
|
-
finally:
|
27
|
-
try:
|
28
|
-
os.unlink(output_name)
|
29
|
-
except OSError:
|
30
|
-
pass
|
31
|
-
|
32
|
-
|
33
|
-
if __name__ == "__main__":
|
34
|
-
unittest.main()
|