Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d139b3 commit d5f5306Copy full SHA for d5f5306
tests/test_type_stubs.py
@@ -1,8 +1,6 @@
1
"""Test type stubs for correctness where possible."""
2
3
import os
4
-import pathlib
5
-import sys
6
7
import pytest
8
@@ -50,7 +48,6 @@ def process_constant(name):
50
48
51
49
names = list(sorted(name for name in dir(xmlsec.constants) if not name.startswith('__')))
52
lines = [process_constant(name) for name in names]
53
- pathlib.Path('constants_stub_gen.pyi').write_text(constants_stub_header + os.linesep.join(lines))
54
return constants_stub_header + os.linesep.join(lines)
55
56
0 commit comments