New submission from Arfrever Frehtes Taifersar Arahesis 
<arfrever....@gmail.com>:

$ python3.2 -m distutils.tests.test_register
.......E
======================================================================
ERROR: test_strict (__main__.RegisterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.2/distutils/tests/test_register.py", line 227, in 
test_strict
    inputs = RawInputs('1', 'tarek', 'y')
NameError: global name 'RawInputs' is not defined

----------------------------------------------------------------------
Ran 8 tests in 0.242s

FAILED (errors=1)

After replacing RawInputs with Inputs:
$ python3.2 -m distutils.tests.test_register
.......E
======================================================================
ERROR: test_strict (__main__.RegisterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.2/distutils/tests/test_register.py", line 231, in 
test_strict
    cmd.run()
  File "/usr/lib64/python3.2/distutils/command/register.py", line 53, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python3.2/distutils/cmd.py", line 315, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python3.2/distutils/dist.py", line 965, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.2/distutils/command/check.py", line 72, in run
    raise DistutilsSetupError('The docutils package is needed.')
distutils.errors.DistutilsSetupError: The docutils package is needed.

----------------------------------------------------------------------
Ran 8 tests in 0.245s

FAILED (errors=1)

After fixing import, the test interactively asks for username.

----------
assignee: tarek
components: Distutils, Tests
files: distutils.patch
keywords: patch
messages: 107623
nosy: Arfrever, tarek
priority: normal
severity: normal
status: open
title: distutils.tests.test_register.RegisterTestCase.test_strict fails
versions: Python 3.1, Python 3.2
Added file: http://bugs.python.org/file17637/distutils.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8980>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to