python 3: long type error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
congress |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
2014-12-16 21:38:21.832 |
2014-12-16 21:38:21.832 | Failed to import test module: congress.
2014-12-16 21:38:21.832 | Traceback (most recent call last):
2014-12-16 21:38:21.832 | File "/home/
2014-12-16 21:38:21.832 | module = self._get_
2014-12-16 21:38:21.832 | File "/home/
2014-12-16 21:38:21.832 | __import__(name)
2014-12-16 21:38:21.832 | File "/home/
2014-12-16 21:38:21.832 | self.assertEqua
2014-12-16 21:38:21.832 | ^
2014-12-16 21:38:21.833 | SyntaxError: invalid syntax
2014-12-16 21:38:21.833 | /home/jenkins/
2014-12-16 21:38:21.833 | "details." % self.metadata.
2014-12-16 21:38:21.833 | Non-zero exit code (2) from test listing.
2014-12-16 21:38:21.833 | error: testr failed (3)
Changed in congress: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/142237 /git.openstack. org/cgit/ stackforge/ congress/ commit/ ?id=9a1e3126268 f182c70745e927e 418e1a1e78ba55
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9a1e3126268f182 c70745e927e418e 1a1e78ba55
Author: Aaron Rosen <email address hidden>
Date: Tue Dec 16 14:04:08 2014 -0800
Python 3: Remove long value check
In python 3 the two types int and long have been unified into one. This
patch fixes a syntax error that would occur in python3 and ensures that
we test it when using python 2.
closes-bug: 1403226
Partially implements blueprint: support-python3
Change-Id: Idd05bba57cdf3b 384ed2e11817e97 d21518ec980