Fix atexit error on Travis

This commit is contained in:
INADA Naoki 2016-05-10 01:00:44 +09:00
parent 6bb4cdd69f
commit de8524d0af
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ if not (PYPY or JYTHON or IRONPYTHON):
@atexit.register
def report_uncollectable():
import gc
if not gc.garbage:
print("No garbages!")
return