Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 418 Bytes

File metadata and controls

10 lines (8 loc) · 418 Bytes

Testing code samples

Code samples are very important for accurate documentation. We use the "doctest" framework to ensure the samples are functioning as expected. After adding a code sample, please ensure it is correct by running doctest. To run the samples doctests for just a single method, refer to the following example:

pytest --doctest-modules bigframes/pandas/__init__.py::bigframes.pandas.cut