Skip to content

Commit

Permalink
Add test for when docstring is commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
adang1345 committed Mar 5, 2024
1 parent b2b33bc commit ca6e940
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,8 @@ def test_init_patch(self):
17. 1 single-quote
18. 1 double-quote with line continuation
19: 1 double-quote with function docstring
20: r-string"""
20: r-string
21: commented out docstring, real docstring"""
with zipfile.ZipFile('simpleext/simpleext-0.0.1-0init-cp310-cp310-win_amd64.whl') as wheel:
cases = 1 + max(int(re.fullmatch(r'simpleext(\d+)', x.name)[1]) for x in zipfile.Path(wheel).iterdir() if re.fullmatch(r'simpleext(\d+)', x.name))
check_call(['delvewheel', 'repair', '--add-path', 'simpleext/x64', '--no-mangle-all', 'simpleext/simpleext-0.0.1-0init-cp310-cp310-win_amd64.whl'])
Expand Down
Binary file modified tests/simpleext/simpleext-0.0.1-0init-cp310-cp310-win_amd64.whl
Binary file not shown.

0 comments on commit ca6e940

Please sign in to comment.