Fix atexit error on Travis
This commit is contained in:
parent
6bb4cdd69f
commit
de8524d0af
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue