1
1
mirror of https://github.com/github/semantic.git synced 2024-12-28 09:21:35 +03:00
semantic/test/fixtures/python/with.B.py

6 lines
126 B
Python

with cls._lock:
found = False
with patch.object(sys, 'stdout', stdout), \
patch.object(sys, 'stderr', stderr):
x