Skip to content

Commit d5f5306

Browse files
committed
drop unused imports in stub generation test
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
1 parent 7d139b3 commit d5f5306

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test_type_stubs.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
"""Test type stubs for correctness where possible."""
22

33
import os
4-
import pathlib
5-
import sys
64

75
import pytest
86

@@ -50,7 +48,6 @@ def process_constant(name):
5048

5149
names = list(sorted(name for name in dir(xmlsec.constants) if not name.startswith('__')))
5250
lines = [process_constant(name) for name in names]
53-
pathlib.Path('constants_stub_gen.pyi').write_text(constants_stub_header + os.linesep.join(lines))
5451
return constants_stub_header + os.linesep.join(lines)
5552

5653

0 commit comments

Comments
 (0)