[Structuredtext-checkins] CVS: restructuredtext/test RSTTestSupport.py,1.12,1.13
Status: Pre-Alpha
Brought to you by:
goodger
From: David G. <go...@us...> - 2002-04-19 02:37:38
|
Update of /cvsroot/structuredtext/restructuredtext/test In directory usw-pr-cvs1:/tmp/cvs-serv1420/restructuredtext/test Modified Files: RSTTestSupport.py Log Message: fixed imports Index: RSTTestSupport.py =================================================================== RCS file: /cvsroot/structuredtext/restructuredtext/test/RSTTestSupport.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** RSTTestSupport.py 6 Feb 2002 02:19:04 -0000 1.12 --- RSTTestSupport.py 19 Apr 2002 02:37:35 -0000 1.13 *************** *** 31,46 **** import sys, os, unittest, re, difflib, types, inspect from pprint import pformat ! ! # try to import the current working version if possible ! try: ! sys.path.insert(0, os.pardir) # running in test framework dir? ! import restructuredtext # or restructuredtext on path? ! except ImportError: # try to run installed code ! from dps.parsers import restructuredtext ! ! from restructuredtext import states ! from restructuredtext import tableparser ! from restructuredtext import directives ! from restructuredtext import languages from dps.statemachine import string2lines import dps.utils --- 31,37 ---- import sys, os, unittest, re, difflib, types, inspect from pprint import pformat ! from dps.parsers import restructuredtext ! from dps.parsers.restructuredtext import states, tableparser, directives, \ ! languages from dps.statemachine import string2lines import dps.utils |