test_localinterfaces.py 599 B

123456789101112131415
  1. #-----------------------------------------------------------------------------
  2. # Copyright (c) The Jupyter Development Team
  3. #
  4. # Distributed under the terms of the BSD License. The full license is in
  5. # the file COPYING, distributed as part of this software.
  6. #-----------------------------------------------------------------------------
  7. from .. import localinterfaces
  8. def test_load_ips():
  9. # Override the machinery that skips it if it was called before
  10. localinterfaces._load_ips.called = False
  11. # Just check this doesn't error
  12. localinterfaces._load_ips(suppress_exceptions=False)