def test_valid_stop_position_type(self): DynamicSplitResultWithPosition(stop_position=ReaderPosition())
def test_invalid_stop_position_type(self): with self.assertRaises(AssertionError): DynamicSplitResultWithPosition(stop_position=1)