Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas committed Aug 11, 2023
1 parent 948f1e2 commit 4171bf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/telemetry/test_telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_str_validation():
str_param(3, "Test_number")

exception_raised = exc_info.value
assert type(exception_raised) == TypeError
assert isinstance(exception_raised, TypeError)


def test_opt_str_validation():
Expand All @@ -144,7 +144,7 @@ def test_opt_str_validation():
opt_str_param("Test", 3)

exception_raised = exc_info.value
assert type(exception_raised) == TypeError
assert isinstance(exception_raised, TypeError)


def test_check_stats_enabled(ignore_env_var_and_set_tmp_default_home_dir):
Expand Down

0 comments on commit 4171bf7

Please sign in to comment.