Skip to content

Commit

Permalink
fix lint refactor magic_cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
AnirudhVIyer committed Jun 23, 2023
1 parent 6cabac2 commit 2a0da2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 0.7.10dev

* [Fix] Refactored `magic_cmd.py` by assigning each command logic to a seperate file [#518]
* [Fix] Refactored `magic_cmd.py` by assigning each command logic to a separate file [#518]
* [Feature] Support flexible spacing `myvar=<<` operator ([#525](https://github.com/ploomber/jupysql/issues/525))
* [Doc] Modified integrations content to ensure they're all consistent (#523)
* [Doc] Document --persist-replace in API section (#539)
Expand Down
1 change: 1 addition & 0 deletions src/tests/test_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,7 @@ def test_autolimit(ip):

def test_error_on_invalid_connection_string(ip_empty, clean_conns):
result = ip_empty.run_cell("%sql some invalid connection string")

assert invalid_connection_string.strip() == str(result.error_in_exec)
assert isinstance(result.error_in_exec, UsageError)

Expand Down

0 comments on commit 2a0da2e

Please sign in to comment.