summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-04-18 10:20:32 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-04-18 10:20:32 +0200
commit8c17defbb7ef82f5791cf37973c9b26a367359ea (patch)
tree9cce6bee1a6bd9772047ead44fb34d82696125b8 /tests
parent16635641b3492e236f50d1a795fceeec2b620890 (diff)
downloadpython-apt-8c17defbb7ef82f5791cf37973c9b26a367359ea.tar.gz
tests/test_lp659438.py: fix test for py3.2
Diffstat (limited to 'tests')
-rw-r--r--tests/test_lp659438.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_lp659438.py b/tests/test_lp659438.py
index 47123a03..01edf3bd 100644
--- a/tests/test_lp659438.py
+++ b/tests/test_lp659438.py
@@ -65,7 +65,8 @@ Version: 3.6.9+build1+nobinonly-0ubuntu1""")
def test_survive_reqreinst(self):
"""Test that we survive a package in require reinstallation state"""
- self.assertEqual(self.cache.required_download, 82324L)
+ # this should be 82324L but python3.2 gets unhappy about the "L"
+ self.assertEqual(self.cache.required_download, 82324)
if __name__ == "__main__":
unittest.main()