Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Testing

New issue 3629 by asmeu...@gmail.com: ./bin/test --no-subprocess is broken in Python 3.3
http://code.google.com/p/sympy/issues/detail?id=3629

$./bin/test --no-subprocess
==================================================================== test process starts =====================================================================
executable:         /sw/bin/python3  (3.3.0-final-0)
architecture:       64-bit
cache:              yes
ground types:       python
random seed:        18496146
hash randomization: Traceback (most recent call last):
  File "./bin/test", line 68, in <module>
    'subprocess': options.subprocess})
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/utilities/runtests.py", line 424, in test
    return not bool(_test(*paths, **kwargs))
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/utilities/runtests.py", line 473, in _test
    return int(not t.test(sort=sort, timeout=timeout, slow=slow))
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/utilities/runtests.py", line 834, in test
    self._reporter.start(self._seed)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/utilities/runtests.py", line 1564, in start
    if HASH_RANDOMIZATION and (hash_seed == "random" or int(hash_seed)):
TypeError: int() argument must be a string or a number, not 'NoneType'

The issue is that hash randomization is still enabled in Python 3.3, even if you don't use a subprocess (but we can't get the seed). That code must be broken.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to