Fix atexit error on Travis
This commit is contained in:
@@ -10,6 +10,7 @@ if not (PYPY or JYTHON or IRONPYTHON):
|
|||||||
|
|
||||||
@atexit.register
|
@atexit.register
|
||||||
def report_uncollectable():
|
def report_uncollectable():
|
||||||
|
import gc
|
||||||
if not gc.garbage:
|
if not gc.garbage:
|
||||||
print("No garbages!")
|
print("No garbages!")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user