Possible glitch in recently added test
Lele Gaifax <[email protected]> Wed, 14 Apr 2021 14:26:26 +0200
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Organization | Nautilus Entertainments |
| Message-ID | <[email protected]> |
Hi,
browsing latest changes, I see the following
diff --git a/tests/test_pdfgen_general.py b/tests/test_pdfgen_general.py
index 3db17503..5b76521f 100644
--- a/tests/test_pdfgen_general.py
+++ b/tests/test_pdfgen_general.py
@@ -1247,6 +1247,30 @@ def testOSFile(self):
c.showPage()
c.save()
+ def testSpooledTemporarySaves(self):
+ return
+ from tempfile import SpooledTemporaryFile
+ with SpooledTemporaryFile() as f:
+ c = canvas.Canvas(f)
+ c.drawString(100, 700, 'Hello World I write to %s' % repr(f))
+ c.showPage()
+ c.save()
That early "return" seems a leftover, isn't it?
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
[email protected] | -- Fortunato Depero, 1929.
_______________________________________________
reportlab-users mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/reportlab-users