(*args, **kwargs)
| 648 | |
| 649 | @contextlib.contextmanager |
| 650 | def set_numpy_options(*args, **kwargs): |
| 651 | original = np.get_printoptions() |
| 652 | np.set_printoptions(*args, **kwargs) |
| 653 | try: |
| 654 | yield |
| 655 | finally: |
| 656 | np.set_printoptions(**original) |
| 657 | |
| 658 | |
| 659 | def limit_lines(string: str, *, limit: int): |
no outgoing calls
no test coverage detected
searching dependent graphs…