Skip to content

Commit

Permalink
drop unused imports in stub generation test
Browse files Browse the repository at this point in the history
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
  • Loading branch information
hoefling committed Aug 20, 2022
1 parent 7d139b3 commit d5f5306
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_type_stubs.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""Test type stubs for correctness where possible."""

import os
import pathlib
import sys

import pytest

Expand Down Expand Up @@ -50,7 +48,6 @@ def process_constant(name):

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


Expand Down

0 comments on commit d5f5306

Please sign in to comment.