Skip to content

Commit

Permalink
meant list.insert
Browse files Browse the repository at this point in the history
- test: wrong params for list.append instead use list.insert
  • Loading branch information
msftcangoblowm committed Aug 27, 2024
1 parent f0a2bf9 commit ecdbeef
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,24 @@ and this project follows an extension of
fourth number represents an administrative maintenance release with no code
changes.

### [2.4.1.3] - 2024-08-27

#### Tests

* wrong params for list.append instead use list.insert

### [2.4.1.2] - 2024-08-27

#### Tests

* for Windows, attempt add SCRIPTS folder to sys.path
* for Windows, walk SCRIPTS folder print files and folders
* for Windows, attempt add SCRIPTS folder to sys.path
* for Windows, walk SCRIPTS folder print files and folders

### [2.4.1.1] - 2024-08-27

#### Tests

* print entire os.environ rather than a single key
* print entire os.environ rather than a single key

### [2.4.1] - 2024-08-27

Expand Down
2 changes: 1 addition & 1 deletion src/sphobjinv/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
"""

__version__ = "2.4.1.2"
__version__ = "2.4.1.3"
2 changes: 1 addition & 1 deletion tests/test_cli_textconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def func() -> None:
if scripts_path not in sys.path:
# https://stackoverflow.com/a/10253916
# `[better way] <https://stackoverflow.com/a/59411635>`_
sys.path.append(0, scripts_path)
sys.path.insert(0, scripts_path)

return func

Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli_textconv_with_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def func() -> None:
# https://stackoverflow.com/a/10253916
# `[better way] <https://stackoverflow.com/a/59411635>`_
if scripts_path not in sys.path:
sys.path.append(0, scripts_path)
sys.path.insert(0, scripts_path)

return func

Expand Down

0 comments on commit ecdbeef

Please sign in to comment.