File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -46,3 +46,5 @@ class PossiblePrecisionLoss(Warning): ...
4646class ValueLabelTypeMismatch (Warning ): ...
4747class InvalidColumnName (Warning ): ...
4848class CategoricalConversionWarning (Warning ): ...
49+ class InvalidVersion (ValueError ): ...
50+ class NoBufferPresent (Exception ): ...
Original file line number Diff line number Diff line change @@ -193,3 +193,13 @@ def test_invalid_column_name() -> None:
193193def test_categorical_conversion_warning () -> None :
194194 with pytest .warns (errors .CategoricalConversionWarning ):
195195 warnings .warn ("" , errors .CategoricalConversionWarning )
196+
197+
198+ def test_invalid_version () -> None :
199+ with pytest .raises (errors .InvalidVersion ):
200+ raise errors .InvalidVersion ()
201+
202+
203+ def test_no_buffer_present () -> None :
204+ with pytest .raises (errors .NoBufferPresent ):
205+ raise errors .NoBufferPresent ()
You can’t perform that action at this time.
0 commit comments