mirror of https://github.com/KLayout/klayout.git
Make pixelBuffer test work (hopefully)
This commit is contained in:
parent
f234af7d3b
commit
0a15425745
|
|
@ -48,7 +48,7 @@ class LAYPixelBufferTests(unittest.TestCase):
|
||||||
self.assertGreater(len(png), 20)
|
self.assertGreater(len(png), 20)
|
||||||
self.assertLess(len(png), 200)
|
self.assertLess(len(png), 200)
|
||||||
pb_copy = pya.PixelBuffer.from_png_data(png)
|
pb_copy = pya.PixelBuffer.from_png_data(png)
|
||||||
self.assertEqual(pb, pb_copy)
|
self.assertEqual(compare(pb, pb_copy), True)
|
||||||
|
|
||||||
ut_testtmp = os.getenv("TESTTMP", ".")
|
ut_testtmp = os.getenv("TESTTMP", ".")
|
||||||
tmp = os.path.join(ut_testtmp, "tmp.png")
|
tmp = os.path.join(ut_testtmp, "tmp.png")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue