Skip to content

Commit

Permalink
test(oracle): expose slightly less opaque error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Aug 26, 2024
1 parent 7c20d58 commit f4c65e8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ibis/backends/tests/test_temporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
MySQLOperationalError,
MySQLProgrammingError,
OracleDatabaseError,
OracleInterfaceError,
PolarsInvalidOperationError,
PolarsPanicException,
PsycoPg2InternalError,
Expand Down Expand Up @@ -505,8 +504,8 @@ def test_date_truncate(backend, alltypes, df, unit):
),
pytest.mark.notyet(
["oracle"],
raises=OracleInterfaceError,
reason="cursor not open, probably a bug in the sql generated",
raises=OracleDatabaseError,
reason="ORA-01839: date not valid for month specified",
),
sqlite_without_ymd_intervals,
],
Expand Down Expand Up @@ -633,8 +632,8 @@ def convert_to_offset(offset, displacement_type=displacement_type):
),
pytest.mark.notyet(
["oracle"],
raises=OracleInterfaceError,
reason="cursor not open, probably a bug in the sql generated",
raises=OracleDatabaseError,
reason="ORA-01839: date not valid for month specified",
),
sqlite_without_ymd_intervals,
],
Expand Down

0 comments on commit f4c65e8

Please sign in to comment.