Skip to content

Commit

Permalink
remove redundant exceptions import
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Apr 24, 2024
1 parent a4ab249 commit dc0b7fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions pipestat/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"InvalidTimeFormatError",
"PipestatDependencyError",
"ColumnNotFoundError",
"SchemaValidationErrorDuringReport",
]


Expand Down
3 changes: 1 addition & 2 deletions tests/test_pipestat.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import pytest
from jsonschema import ValidationError

import pipestat.exceptions
from pipestat import SamplePipestatManager, ProjectPipestatManager, PipestatBoss, PipestatManager
from pipestat.const import *
from pipestat.exceptions import *
Expand Down Expand Up @@ -385,7 +384,7 @@ def test_complex_object_report_missing_fields(

psm = SamplePipestatManager(**args)
del val[list(val.keys())[0]]["path"]
with pytest.raises(pipestat.exceptions.SchemaValidationErrorDuringReport):
with pytest.raises(SchemaValidationErrorDuringReport):
psm.report(record_identifier=REC_ID, values=val, force_overwrite=True)

@pytest.mark.parametrize(
Expand Down

0 comments on commit dc0b7fc

Please sign in to comment.