~dobey/software-center/fix-typeerror

« back to all changes in this revision

Viewing changes to tests/gtk3/test_navhistory.py

  • Committer: Tarmac
  • Author(s): Rodney Dawes
  • Date: 2013-09-17 17:33:12 UTC
  • mfrom: (3316.1.1 no-old-style)
  • Revision ID: tarmac-20130917173312-tq9tjudgy64zl80w
Fix some RuntimeWarnings about old-style classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
from softwarecenter.ui.gtk3.session.displaystate import DisplayState
13
13
 
14
14
 
15
 
class MockButton():
 
15
class MockButton(object):
16
16
 
17
17
    def __init__(self):
18
18
        self.sensitive = True