Skip to content

Commit aab9383

Browse files
jorisvandenbosscheluckyvs1
authored andcommitted
TST: add note about scope of base extension tests to all files (pandas-dev#39003)
1 parent 383eaa2 commit aab9383

File tree

5 files changed

+75
-0
lines changed

5 files changed

+75
-0
lines changed

pandas/tests/extension/test_datetime.py

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
"""
2+
This file contains a minimal set of tests for compliance with the extension
3+
array interface test suite, and should contain no other tests.
4+
The test suite for the full functionality of the array is located in
5+
`pandas/tests/arrays/`.
6+
7+
The tests in this file are inherited from the BaseExtensionTests, and only
8+
minimal tweaks should be applied to get the tests passing (by overwriting a
9+
parent method).
10+
11+
Additional tests should either be added to one of the BaseExtensionTests
12+
classes (if they are relevant for the extension interface for all dtypes), or
13+
be added to the array-specific tests in `pandas/tests/arrays/`.
14+
15+
"""
116
import numpy as np
217
import pytest
318

pandas/tests/extension/test_numpy.py

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
"""
2+
This file contains a minimal set of tests for compliance with the extension
3+
array interface test suite, and should contain no other tests.
4+
The test suite for the full functionality of the array is located in
5+
`pandas/tests/arrays/`.
6+
7+
The tests in this file are inherited from the BaseExtensionTests, and only
8+
minimal tweaks should be applied to get the tests passing (by overwriting a
9+
parent method).
10+
11+
Additional tests should either be added to one of the BaseExtensionTests
12+
classes (if they are relevant for the extension interface for all dtypes), or
13+
be added to the array-specific tests in `pandas/tests/arrays/`.
14+
15+
"""
116
import numpy as np
217
import pytest
318

pandas/tests/extension/test_period.py

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
"""
2+
This file contains a minimal set of tests for compliance with the extension
3+
array interface test suite, and should contain no other tests.
4+
The test suite for the full functionality of the array is located in
5+
`pandas/tests/arrays/`.
6+
7+
The tests in this file are inherited from the BaseExtensionTests, and only
8+
minimal tweaks should be applied to get the tests passing (by overwriting a
9+
parent method).
10+
11+
Additional tests should either be added to one of the BaseExtensionTests
12+
classes (if they are relevant for the extension interface for all dtypes), or
13+
be added to the array-specific tests in `pandas/tests/arrays/`.
14+
15+
"""
116
import numpy as np
217
import pytest
318

pandas/tests/extension/test_sparse.py

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
"""
2+
This file contains a minimal set of tests for compliance with the extension
3+
array interface test suite, and should contain no other tests.
4+
The test suite for the full functionality of the array is located in
5+
`pandas/tests/arrays/`.
6+
7+
The tests in this file are inherited from the BaseExtensionTests, and only
8+
minimal tweaks should be applied to get the tests passing (by overwriting a
9+
parent method).
10+
11+
Additional tests should either be added to one of the BaseExtensionTests
12+
classes (if they are relevant for the extension interface for all dtypes), or
13+
be added to the array-specific tests in `pandas/tests/arrays/`.
14+
15+
"""
116
import numpy as np
217
import pytest
318

pandas/tests/extension/test_string.py

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
"""
2+
This file contains a minimal set of tests for compliance with the extension
3+
array interface test suite, and should contain no other tests.
4+
The test suite for the full functionality of the array is located in
5+
`pandas/tests/arrays/`.
6+
7+
The tests in this file are inherited from the BaseExtensionTests, and only
8+
minimal tweaks should be applied to get the tests passing (by overwriting a
9+
parent method).
10+
11+
Additional tests should either be added to one of the BaseExtensionTests
12+
classes (if they are relevant for the extension interface for all dtypes), or
13+
be added to the array-specific tests in `pandas/tests/arrays/`.
14+
15+
"""
116
import string
217

318
import numpy as np

0 commit comments

Comments
 (0)