[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-09-13 Thread Ned Deily


Ned Deily  added the comment:

I can't reproduce this either using a current top of 3.7 branch and installed 
on macOS; I also tried building 3.7 just prior to the fix for Issue21446 that 
Brett mentioned; the test also did not fail.  Let's close this until it can be 
reproduced outside of doko's environment.

--
nosy: +ned.deily
resolution:  -> works for me
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-08-03 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

test_lib2to3 passes for me on Win 10 for both installed 3.7.0 (in home 
directory) and repository 3.7 (in clone directory) compiled yesterday.

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-08-01 Thread Berker Peksag


Berker Peksag  added the comment:

I ran "python3.7 -m test test_lib2to3" in a separate terminal. I don't remember 
the exact location, but I'm sure it wasn't the build location (it was probably 
my home directory)

Is it possible to add some debug print()s inside 
https://github.com/python/cpython/blob/3.7/Lib/lib2to3/tests/support.py#L37 ? 
My only guess is that the test code somehow finds the wrong refactorer.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-08-01 Thread Matthias Klose


Matthias Klose  added the comment:

strange. I see it succeeding in the build location, not the install location.  
Did you make sure to cd /tmp before running the test?

I still can reproduce it:

$ python3.7 -m test test_lib2to3
Run tests sequentially
0:00:00 load avg: 0.24 [1/1] test_lib2to3
test test_lib2to3 failed -- multiple errors occurred; run in verbose mode for 
details
test_lib2to3 failed

== Tests result: FAILURE ==

1 test failed:
test_lib2to3

Total duration: 5 sec 211 ms
Tests result: FAILURE

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-08-01 Thread Berker Peksag


Berker Peksag  added the comment:

I'm not able to reproduce this:

 ./configure
 make -s -j
 sudo make install
 python3.7 -m test test_lib2to3

 Run tests sequentially
 0:00:00 load avg: 0.86 [1/1] test_lib2to3

 == Tests result: SUCCESS ==

 1 test OK.

 Total duration: 13 sec 456 ms
 Tests result: SUCCESS

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-07-31 Thread Berker Peksag


Change by Berker Peksag :


--
assignee:  -> berker.peksag
stage:  -> needs patch
type:  -> behavior
versions: +Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-07-31 Thread Brett Cannon


Brett Cannon  added the comment:

Could be related to https://bugs.python.org/issue21446 .

--
nosy: +berker.peksag

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-07-30 Thread Matthias Klose


New submission from Matthias Klose :

running the lib2to3 tests from an installed location, I see the following 
failures on the 3.7 branch:

==
FAIL: test (lib2to3.tests.test_fixers.Test_reload)
--
Traceback (most recent call last):
  File "/usr/lib/python3.7/lib2to3/tests/test_fixers.py", line 294, in test
self.check(b, a)
  File "/usr/lib/python3.7/lib2to3/tests/test_fixers.py", line 36, in check
tree = self._check(before, after)
  File "/usr/lib/python3.7/lib2to3/tests/test_fixers.py", line 32, in _check
self.assertEqual(after, str(tree))
AssertionError: 'import importlib\nimportlib.reload(a)\n\n' != 'import 
imp\nimp.reload(a)\n\n'
- import importlib
?   --
+ import imp
- importlib.reload(a)
?--
+ imp.reload(a)
  


==
FAIL: test_comment (lib2to3.tests.test_fixers.Test_reload)
--
Traceback (most recent call last):
  File "/usr/lib/python3.7/lib2to3/tests/test_fixers.py", line 299, in 
test_comment
self.check(b, a)
  File "/usr/lib/python3.7/lib2to3/tests/test_fixers.py", line 36, in check
tree = self._check(before, after)
  File "/usr/lib/python3.7/lib2to3/tests/test_fixers.py", line 32, in _check
self.assertEqual(after, str(tree))
AssertionError: 'import importlib\nimportlib.reload( a ) # comment\n\n' != 
'import imp\nimp.reload( a ) # comment\n\n'
- import importlib
?   --
+ import imp
- importlib.reload( a ) # comment
?--
+ imp.reload( a ) # comment
  


==
FAIL: test_space (lib2to3.tests.test_fixers.Test_reload)
--
Traceback (most recent call last):
  File "/usr/lib/python3.7/lib2to3/tests/test_fixers.py", line 309, in 
test_space
self.check(b, a)
  File "/usr/lib/python3.7/lib2to3/tests/test_fixers.py", line 36, in check
tree = self._check(before, after)
  File "/usr/lib/python3.7/lib2to3/tests/test_fixers.py", line 32, in _check
self.assertEqual(after, str(tree))
AssertionError: 'import importlib\nimportlib.reload( a )\n\n' != 'import 
imp\nimp.reload( a )\n\n'
- import importlib
?   --
+ import imp
- importlib.reload( a )
?--
+ imp.reload( a )
  


--
Ran 650 tests in 27.363s

FAILED (failures=3)
test test_lib2to3 failed
1 test failed again:
test_lib2to3

== Tests result: FAILURE then FAILURE ==

390 tests OK.

1 test failed:
test_lib2to3

--
components: Library (Lib)
keywords: 3.7regression
messages: 322714
nosy: brett.cannon, doko, eric.snow, ncoghlan
priority: normal
severity: normal
status: open
title: lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com