Brett Cannon committed cb4815d

Mention that tests that cover C-specific issues are a good thing.

  • Participants
  • Parent commits 24d68b6

Comments (0)

Files changed (1)

 must have 100% branch coverage for the Python code being replaced by
 C code. This will make sure that the new acceleration code will
 operate as much like a drop-in replacement for the Python code is as
+possible. Testing should still be done for issues that come up when
+working with C code even if it is not explicitly required to meet the
+coverage requirement, e.g., Tests should be aware that C code typically
+has special paths for things such as built-in types, subclasses of
+built-in types, etc.
 Acting as a drop-in replacement also dictates that no public API be
 provided in accelerated code that does not exist in the pure Python