tests/test-oldcgi.t
branchstable
changeset 50734 d5cd1fd690f3
parent 41412 f5cb822625cc
--- a/tests/test-oldcgi.t	Tue Jun 27 12:09:17 2023 +0200
+++ b/tests/test-oldcgi.t	Mon Jun 26 18:00:28 2023 +0200
@@ -8,8 +8,7 @@
   > #
   > # An example CGI script to use hgweb, edit as necessary
   > 
-  > import cgitb, os, sys
-  > cgitb.enable()
+  > import os, sys
   > 
   > # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install
   > from mercurial import hgweb
@@ -30,8 +29,7 @@
   > #
   > # An example CGI script to export multiple hgweb repos, edit as necessary
   > 
-  > import cgitb, sys
-  > cgitb.enable()
+  > import sys
   > 
   > # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install
   > from mercurial import hgweb