[pyrepl-checkins] pyrepl/pyrepl historical_reader.py,1.2,1.3

mwh@codespeak.net mwh@codespeak.net
Fri, 17 Jan 2003 14:37:40 +0100 (MET)


Update of /cvs/pyrepl/pyrepl/pyrepl
In directory thoth.codespeak.net:/tmp/cvs-serv2367

Modified Files:
	historical_reader.py 
Log Message:
Make test work.  Have no recollection of making this fix, but it looks
right :)


Index: historical_reader.py
===================================================================
RCS file: /cvs/pyrepl/pyrepl/pyrepl/historical_reader.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** historical_reader.py	17 Jan 2003 13:25:54 -0000	1.2
--- historical_reader.py	17 Jan 2003 13:37:38 -0000	1.3
***************
*** 300,304 ****
  
  def test():
!     reader = HistoricalReader()
      reader.ps1 = "h**> "
      reader.ps2 = "h/*> "
--- 300,305 ----
  
  def test():
!     from pyrepl.unix_console import UnixConsole
!     reader = HistoricalReader(UnixConsole(1, None))
      reader.ps1 = "h**> "
      reader.ps2 = "h/*> "