| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d57b4a7 commit cd00289
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1361,7 +1361,7 @@ def test_postscript(self): | |||
| 1361 | 1361 | c.create_rectangle(10, 10, 30, 30, fill='black') | |
| 1362 | 1362 | ps = c.postscript() | |
| 1363 | 1363 | self.assertIsInstance(ps, str) | |
| 1364 | - self.assertStartsWith(ps, '%!PS-Adobe') | ||
| 1364 | + self.assertTrue(ps.startswith('%!PS-Adobe'), ps[:20]) | ||
| 1365 | 1365 | self.assertRaises(TclError, c.postscript, badoption='spam') | |
| 1366 | 1366 | ||
| 1367 | 1367 | def assertCommandExist(self, widget, funcid): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments