Commit 7a9a5ef7 authored by Stefan Behnel's avatar Stefan Behnel

Py3 test fix

parent 367e12b3
...@@ -197,10 +197,10 @@ def manager_from_expression(): ...@@ -197,10 +197,10 @@ def manager_from_expression():
exit <type 'NoneType'> <type 'NoneType'> <type 'NoneType'> exit <type 'NoneType'> <type 'NoneType'> <type 'NoneType'>
""" """
with GetManager().get(1) as x: with GetManager().get(1) as x:
print x print(x)
g = GetManager() g = GetManager()
with g.get(2) as x: with g.get(2) as x:
print x print(x)
# Tests borrowed from pyregr test_with.py, # Tests borrowed from pyregr test_with.py,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment