Fixed issue in testing fixtures which was incompatible with a change
made as of Python 3.6.2 involving context managers.
Change-Id: I0f12aa6cc15cba89153f7e4888ac347e7ce599c7
Fixes: #4034
--- /dev/null
+.. change::
+ :tags: bug, tests, py3k
+ :tickets: 4034
+ :versions: 1.0.18, 1.1.12, 1.2.0b2
+
+ Fixed issue in testing fixtures which was incompatible with a change
+ made as of Python 3.6.2 involving context managers.
\ No newline at end of file
except:
exc_info = sys.exc_info()
raise_ = ctx.__exit__(*exc_info)
- if raise_ is None:
+ if not raise_:
raise
else:
return raise_