mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 02:36:17 +03:00
Cleaned up prints
This commit is contained in:
parent
c824a15fe8
commit
acab4e8fdc
|
@ -36,13 +36,11 @@ class PillowTestCase(unittest.TestCase):
|
||||||
if ok:
|
if ok:
|
||||||
# only clean out tempfiles if test passed
|
# only clean out tempfiles if test passed
|
||||||
try:
|
try:
|
||||||
print("Removing File: %s" % path)
|
|
||||||
os.remove(path)
|
os.remove(path)
|
||||||
except OSError:
|
except OSError:
|
||||||
pass # report?
|
pass # report?
|
||||||
else:
|
else:
|
||||||
print("=== orphaned temp file")
|
print("=== orphaned temp file: %s" %path)
|
||||||
print(path)
|
|
||||||
|
|
||||||
def assert_almost_equal(self, a, b, msg=None, eps=1e-6):
|
def assert_almost_equal(self, a, b, msg=None, eps=1e-6):
|
||||||
self.assertLess(
|
self.assertLess(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user