Skip to content

Commit

Permalink
. t fix permission to write on windows
Browse files Browse the repository at this point in the history
Co-Authored-By: 4dsherwood <[email protected]>
Co-Authored-By: Nitsan Avni <[email protected]>
Co-Authored-By: homeropessoa <[email protected]>
  • Loading branch information
4 people committed Nov 24, 2024
1 parent 926e5aa commit eed02d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test__py_typed_files_exist.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ def main() -> None:

with tempfile.NamedTemporaryFile(suffix=".py") as _test_file:
test_file = pathlib.Path(_test_file.name)
test_file.write_text(f"import {package_name}")
test_file.write_text(f"import {package_name}")

_run_python_checked(
["-m", "mypy", test_file.name],
cwd=test_file.parent,
)
_run_python_checked(
["-m", "mypy", test_file.name],
cwd=test_file.parent,
)


def _run_python_checked(
Expand Down

0 comments on commit eed02d7

Please sign in to comment.