Skip to content

Commit f907864

Browse files
committed
Added the note with example
1 parent 567bc64 commit f907864

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/source/development/contributing.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -950,9 +950,13 @@ the expected correct result::
950950
assert_frame_equal(pivoted, expected)
951951

952952
.. note::
953-
954-
Add the GitHub Issue Number as a Comment to the New Tests.
955-
953+
954+
Add the GitHub issue number as a comment to the new tests.
955+
For Example - For a test solving issue number 20172, write
956+
| # GH 20172
957+
| def test_apply_categorical_with_nan_values(self, series):
958+
| s = pd.Series(series, dtype="category")
959+
| ...
956960
957961
Transitioning to ``pytest``
958962
~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)