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): ...
46
46
class ValueLabelTypeMismatch (Warning ): ...
47
47
class InvalidColumnName (Warning ): ...
48
48
class 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:
193
193
def test_categorical_conversion_warning () -> None :
194
194
with pytest .warns (errors .CategoricalConversionWarning ):
195
195
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