()
| 1854 | |
| 1855 | |
| 1856 | def test_logging_magic_not_quiet(): |
| 1857 | _ip.config.LoggingMagics.quiet = False |
| 1858 | lm = logging.LoggingMagics(shell=_ip) |
| 1859 | with TemporaryDirectory() as td: |
| 1860 | try: |
| 1861 | with tt.AssertPrints(re.compile("Activating.*")): |
| 1862 | lm.logstart(os.path.join(td, "not_quiet.log")) |
| 1863 | finally: |
| 1864 | _ip.logger.logstop() |
| 1865 | |
| 1866 | |
| 1867 | def test_time_no_var_expand(): |