diff options
Diffstat (limited to 'libs/python/test/raw_ctor.py')
-rw-r--r-- | libs/python/test/raw_ctor.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/python/test/raw_ctor.py b/libs/python/test/raw_ctor.py index 686948ff0d..1e9a9192a4 100644 --- a/libs/python/test/raw_ctor.py +++ b/libs/python/test/raw_ctor.py @@ -12,7 +12,7 @@ >>> f = Foo(1, 2, 'a', bar = 3, baz = 4) >>> f.args (1, 2, 'a') ->>> f.kw.items() +>>> sorted(f.kw.items()) [('bar', 3), ('baz', 4)] """ def run(args = None): @@ -24,10 +24,10 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) |