X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/180bc06ede96959fd52b43467ce3836655108719..f471271831ffc7b0f71cc119edac33c267735d36:/tests/composition.py diff --git a/tests/composition.py b/tests/composition.py index 71eee6a..ac63e46 100644 --- a/tests/composition.py +++ b/tests/composition.py @@ -1,5 +1,4 @@ class C: - def test(self) -> None: with patch("black.out", print): self.assertEqual( @@ -32,6 +31,14 @@ class C: # Another ): print(i) + xxxxxxxxxxxxxxxx = Yyyy2YyyyyYyyyyy( + push_manager=context.request.resource_manager, + max_items_to_push=num_items, + batch_size=Yyyy2YyyyYyyyyYyyy.FULL_SIZE, + ).push( + # Only send the first n items. + items=items[:num_items] + ) return ( "Utterly failed doctest test for %s\n" ' File "%s", line %s, in %s\n\n%s'