1. 30 Tem, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      Complete the absolute import patch for the test suite. All relative · 408b6d34
      Barry Warsaw yazdı
      imports of test modules now import from the test package.  Other
      related oddities are also fixed (like DeprecationWarning filters that
      weren't specifying the full import part, etc.).  Also did a general
      code cleanup to remove all "from test.test_support import *"'s.  Other
      from...import *'s weren't changed.
      408b6d34
  2. 23 Tem, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      Get rid of relative imports in all unittests. Now anything that · 04f357cf
      Barry Warsaw yazdı
      imports e.g. test_support must do so using an absolute package name
      such as "import test.test_support" or "from test import test_support".
      
      This also updates the README in Lib/test, and gets rid of the
      duplicate data dirctory in Lib/test/data (replaced by
      Lib/email/test/data).
      
      Now Tim and Jack can have at it. :)
      04f357cf
  3. 20 Agu, 2001 1 kayıt (commit)
  4. 18 Nis, 2001 1 kayıt (commit)
    • Jeremy Hylton's avatar
      Fix compileall.py so that it fails on SyntaxErrors · 30906940
      Jeremy Hylton yazdı
      The changes cause compilation failures in any file in the Python
      installation lib directory to cause the install to fail.  It looks
      like compileall.py intended to behave this way, but a change to
      py_compile.py and a separate bug defeated it.
      
      Fixes SF bug #412436
      
      This change affects the test suite, which contains several files that
      contain intentional errors.  The solution is to extend compileall.py
      with the ability to skip compilation of selected files.
      
      In the test suite, rename nocaret.py and test_future[3..7].py to start
      with badsyntax_nocaret.py and badsyntax_future[3..7].py.  Update the
      makefile to skip compilation of these files.  Update the tests to use
      the name names for imports.
      
      NB compileall.py is changed so that compile_dir() returns success only
      if all recursive calls to compile_dir() also check success.
      30906940
  5. 01 Mar, 2001 1 kayıt (commit)
  6. 28 Şub, 2001 1 kayıt (commit)