New-style classes implemented for python 2.7 - #2147
This commit is contained in:
@@ -20,7 +20,7 @@ class MyDocTestRunner(doctest.DocTestRunner):
|
||||
example.source.strip(), got.strip(), example.want.strip()))
|
||||
|
||||
|
||||
class TestApprox:
|
||||
class TestApprox(object):
|
||||
|
||||
def test_repr_string(self):
|
||||
# for some reason in Python 2.6 it is not displaying the tolerance representation correctly
|
||||
|
||||
Reference in New Issue
Block a user