Skip to content

Commit 6e7b193

Browse files
committed
DOC: Add doc explaining TestCase usage under pytest
1 parent fce1e3e commit 6e7b193

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/util/testing.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ def reset_testing_mode():
8383

8484

8585
class TestCase(unittest.TestCase):
86+
"""
87+
The test case class that we originally used when using the
88+
nosetests framework. Under the new pytest framework, we are
89+
moving away from this class.
90+
91+
Do not create new test classes derived from this one. Rather,
92+
they should inherit from object directly.
93+
"""
8694

8795
@classmethod
8896
def setUpClass(cls):

0 commit comments

Comments
 (0)