On Tuesday, June 13, 2023 at 8:14:54 AM UTC-7 Tobias Diez wrote: What about a completely different approach: Instead of annotating the doctests, simply ignore test blocks that fail due to a thrown import error (or missing feature error) of a package that is not installed in the modularized test environment? That might hide some edge cases, but would in total be a less intrusive way to handle things.
No, that does not work. It does not "hide some edge cases"; it would hide everything that's relevant. All errors that one sees when modularizing are import errors. Modularization work exactly consists of looking at the details: Is the error appearing because of a poorly placed import; or is this doctest depending on a feature that by design is not provided as part of the tested distribution. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/216e6abb-ecbb-4284-aa60-f53f8a40c506n%40googlegroups.com.