Created
April 12, 2014 15:23
-
-
Save href/10541086 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import testing.postgresql | |
| if __name__ == '__main__': | |
| postgresql = testing.postgresql.Postgresql() | |
| try: | |
| print('run server') | |
| finally: | |
| postgresql.stop() | |
| postgresql.cleanup() | |
| => | |
| Exception ignored in: <bound method Postgresql.__del__ of <testing.postgresql.Postgresql object at 0x10dc62780>> | |
| Traceback (most recent call last): | |
| File "/Users/denis/.virtualenvs/libres/lib/python3.4/site-packages/testing/postgresql.py", line 72, in __del__ | |
| File "/Users/denis/.virtualenvs/libres/lib/python3.4/site-packages/testing/postgresql.py", line 182, in stop | |
| File "/Users/denis/.virtualenvs/libres/lib/python3.4/site-packages/testing/postgresql.py", line 186, in terminate | |
| File "<frozen importlib._bootstrap>", line 2214, in _find_and_load | |
| File "<frozen importlib._bootstrap>", line 2199, in _find_and_load_unlocked | |
| File "<frozen importlib._bootstrap>", line 2132, in _find_spec | |
| TypeError: 'NoneType' object is not iterable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment