Ticket #11156: trac_11156-sage_unittest-init-nt.patch

File trac_11156-sage_unittest-init-nt.patch, 711 bytes (added by nthiery, 10 years ago)
  • sage/misc/sage_unittest.py

    # HG changeset patch
    # User Nicolas M. Thiery <nthiery@users.sf.net>
    # Date 1302254740 -7200
    # Node ID c906e6a0a81c04e26a743c7b740cd50eeb154111
    # Parent  ffc291ffbb660369cb6a6427de873cf23cda52bd
    #11156: sage.misc.sage_unittest.InstanceTester should call its base's __init__
    
    diff --git a/sage/misc/sage_unittest.py b/sage/misc/sage_unittest.py
    a b class InstanceTester(unittest.TestCase): 
    375375            sage: QQ._tester()
    376376            Testing utilities for Rational Field
    377377        """
     378        unittest.TestCase.__init__(self)
    378379        self._instance = instance
    379380        self._verbose = verbose
    380381        self._elements = elements