You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/contributing.rst
+2-2
Original file line number
Diff line number
Diff line change
@@ -617,11 +617,11 @@ the expected correct result::
617
617
Transitioning to ``pytest``
618
618
~~~~~~~~~~~~~~~~~~~~~~~~~~~
619
619
620
-
*pandas* existing test structure is *mostly* classed based, meaning that you will typically find tests wrapped in a class, inheriting from ``tm.TestCase``.
620
+
*pandas* existing test structure is *mostly* classed based, meaning that you will typically find tests wrapped in a class.
621
621
622
622
.. code-block:: python
623
623
624
-
classTestReallyCoolFeature(tm.TestCase):
624
+
classTestReallyCoolFeature(object):
625
625
....
626
626
627
627
Going forward, we are moving to a more *functional* style using the `pytest <http://doc.pytest.org/en/latest/>`__ framework, which offers a richer testing
0 commit comments