Make sure autopkgtest also passes with Python3.12
authorAndreas Tille <tille@debian.org>
Thu, 29 Feb 2024 12:12:57 +0000 (12:12 +0000)
committerGraham Inggs <ginggs@debian.org>
Thu, 29 Feb 2024 12:12:57 +0000 (12:12 +0000)
Bug-Debian: https://bugs.debian.org/1061810
Last-Update: Wed, 14 Feb 2024 12:02:47 +0100

Gbp-Pq: Name python3.12.patch

examples/test.py

index 2b31d1ce1193e7debd5f3b2a7f79b68502c732c9..cff8bbaadf31aee37b46bfca3fa327df577b4f93 100644 (file)
@@ -12,5 +12,5 @@ gr.Light(True)                # enable lighting
 gr.Surf(dat)           # plot surface
 gr.Cont(dat,"y")       # plot yellow contour lines
 gr.Axis()                      # draw axis
-gr.Puts(mglPoint(1,1,1.2),"\i f = \dfrac{1}{1+(5x-5)^2+(5y-5)^2}")
+gr.Puts(mglPoint(1,1,1.2),r"\i f = \dfrac{1}{1+(5x-5)^2+(5y-5)^2}")
 gr.WriteFrame("sample.png")    # save it