nova/nova/tests/unit/compute/monitors
Victor Stinner 9bc21deea7 Drop L from literal integer numbers for Python 3
On Python 3, 123L is a syntax error. Replace 123L with 123 to get code working
on Python 2 and Python 3.

This patch was generated by the following tool (revision 9f3076ad5e09) using
the "long" operation:
https://bitbucket.org/haypo/misc/src/tip/python/sixer.py

Manual change:

* In nova/tests/unit/objects/test_fields.py, we explicitly want to check that
  long integers are supported as well. Keep the test on long, but replace
  1L with long(1) to avoid the syntax error on Python 3.

Blueprint nova-python3
Change-Id: I6a1234673a82909780dc7a82d5998705342dbfc6
2015-05-11 11:15:33 +02:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_cpu_monitor.py Drop L from literal integer numbers for Python 3 2015-05-11 11:15:33 +02:00
test_monitors.py Make compute unit tests inherit from test.NoDBTestCase 2015-02-24 17:54:29 +02:00