This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients benjamin.peterson, serhiy.storchaka
Date 2015-03-28.18:00:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427565654.6.0.111247541.issue23798@psf.upfronthosting.co.za>
In-reply-to
Content
======================================================================
ERROR: test_all_project_files (lib2to3.tests.test_all_fixers.Test_all)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/lib2to3/tests/test_all_fixers.py", line 25, in test_all_project_files
    self.refactor.refactor_file(filepath)
  File "/home/serhiy/py/cpython/Lib/lib2to3/refactor.py", line 354, in refactor_file
    tree = self.refactor_string(input, filename)
  File "/home/serhiy/py/cpython/Lib/lib2to3/refactor.py", line 386, in refactor_string
    self.refactor_tree(tree, name)
  File "/home/serhiy/py/cpython/Lib/lib2to3/refactor.py", line 460, in refactor_tree
    new = fixer.transform(node, results)
  File "/home/serhiy/py/cpython/Lib/lib2to3/fixes/fix_encode.py", line 50, in transform
    if negation:
NameError: name 'negation' is not defined

----------------------------------------------------------------------

Variable 'negation' is never set.
History
Date User Action Args
2015-03-28 18:00:54serhiy.storchakasetrecipients: + serhiy.storchaka, benjamin.peterson
2015-03-28 18:00:54serhiy.storchakasetmessageid: <1427565654.6.0.111247541.issue23798@psf.upfronthosting.co.za>
2015-03-28 18:00:54serhiy.storchakalinkissue23798 messages
2015-03-28 18:00:54serhiy.storchakacreate