Module: cirq.testing.repr_pretty_tester

Classes

class FakePrinter: A fake of iPython's PrettyPrinter which captures text added to this printer.

Functions

assert_repr_pretty(...): Assert that the given object has a _repr_pretty_ method that produces the given text.

assert_repr_pretty_contains(...): Assert that the given object has a _repr_pretty_ output that contains the given text.