5 ms·
But does Rope understand pytest fixtures? I doubt it, but would be happy to be proven wrong.
by morningsam 2y ago
But does Rope understand pytest fixtures? I doubt it, but would be happy to be proven wrong.
- westurner 2y agoYeah, there `sed` and `git diff` with one or more filenames in a variable might do. Because pytest requires a preprocessing step, renaming fixtures is tough, and also for jupyter notebooks %%ipytest is necessary to call functions that start with test_ and upgrade assert keywords to expressions; e.g `assert a == b, error_expr` is preprocessed into `assertEqual(a,b, error_expr)` with an AssertionError message even for comparisons of large lists and strings.