Initial Debugging Completed and Execution Successful

This commit is contained in:
2025-09-21 08:55:26 -04:00
parent 27e9112592
commit afb2c79a4c
7501 changed files with 1330669 additions and 18 deletions

View File

@@ -0,0 +1,26 @@
"""
Tests for behavior if an author does *not* implement EA methods.
"""
import numpy as np
import pytest
from pandas.core.arrays import ExtensionArray
class MyEA(ExtensionArray):
def __init__(self, values) -> None:
self._values = values
@pytest.fixture
def data():
arr = np.arange(10)
return MyEA(arr)
class TestExtensionArray:
def test_errors(self, data, all_arithmetic_operators):
# invalid ops
op_name = all_arithmetic_operators
with pytest.raises(AttributeError):
getattr(data, op_name)