[Python-checkins] CVS: python/dist/src/Lib/test/output test_cfgparser,1.1,1.2 test_cookie,1.3,1.4 test_tokenize,1.4,1.5

Ka-Ping Yee ping@users.sourceforge.net
Wed, 24 Jan 2001 09:19:10 -0800


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv10747/Lib/test/output

Modified Files:
	test_cfgparser test_cookie test_tokenize 
Log Message:
Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.
Switch from octal escapes to hex escapes for other nonprintable characters.


Index: test_cfgparser
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_cfgparser,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_cfgparser	2000/09/27 22:45:25	1.1
--- test_cfgparser	2001/01/24 17:19:08	1.2
***************
*** 25,40 ****
  Testing for parsing errors...
  Caught expected exception: File contains parsing errors: <???>
! 	[line  2]: '  extra-spaces: splat\012'
  Caught expected exception: File contains parsing errors: <???>
! 	[line  2]: '  extra-spaces= splat\012'
  Caught expected exception: File contains parsing errors: <???>
! 	[line  2]: 'option-without-value\012'
  Caught expected exception: File contains parsing errors: <???>
! 	[line  2]: ':value-without-option-name\012'
  Caught expected exception: File contains parsing errors: <???>
! 	[line  2]: '=value-without-option-name\012'
  Caught expected exception: File contains no section headers.
  file: <???>, line: 1
! 'No Section!\012'
  
  Testing query interface...
--- 25,40 ----
  Testing for parsing errors...
  Caught expected exception: File contains parsing errors: <???>
! 	[line  2]: '  extra-spaces: splat\n'
  Caught expected exception: File contains parsing errors: <???>
! 	[line  2]: '  extra-spaces= splat\n'
  Caught expected exception: File contains parsing errors: <???>
! 	[line  2]: 'option-without-value\n'
  Caught expected exception: File contains parsing errors: <???>
! 	[line  2]: ':value-without-option-name\n'
  Caught expected exception: File contains parsing errors: <???>
! 	[line  2]: '=value-without-option-name\n'
  Caught expected exception: File contains no section headers.
  file: <???>, line: 1
! 'No Section!\n'
  
  Testing query interface...

Index: test_cookie
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_cookie,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** test_cookie	2000/08/24 11:56:19	1.3
--- test_cookie	2001/01/24 17:19:08	1.4
***************
*** 7,13 ****
    chips 'ahoy' 'ahoy'
  Set-Cookie: chips=ahoy;
! <SimpleCookie: keebler='E=mc2; L="Loves"; fudge=\012;'>
  Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
!   keebler 'E=mc2; L="Loves"; fudge=\012;' 'E=mc2; L="Loves"; fudge=\012;'
  Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
  Set-Cookie: Customer="WILE_E_COYOTE"; Path=/acme;
--- 7,13 ----
    chips 'ahoy' 'ahoy'
  Set-Cookie: chips=ahoy;
! <SimpleCookie: keebler='E=mc2; L="Loves"; fudge=\n;'>
  Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
!   keebler 'E=mc2; L="Loves"; fudge=\n;' 'E=mc2; L="Loves"; fudge=\n;'
  Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
  Set-Cookie: Customer="WILE_E_COYOTE"; Path=/acme;

Index: test_tokenize
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_tokenize,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** test_tokenize	2001/01/15 22:27:06	1.4
--- test_tokenize	2001/01/24 17:19:08	1.5
***************
*** 1,25 ****
  test_tokenize
! 1,0-1,35:	COMMENT	"# Tests for the 'tokenize' module.\012"
! 2,0-2,43:	COMMENT	'# Large bits stolen from test_grammar.py. \012'
! 3,0-3,1:	NL	'\012'
! 4,0-4,11:	COMMENT	'# Comments\012'
  5,0-5,3:	STRING	'"#"'
! 5,3-5,4:	NEWLINE	'\012'
! 6,0-6,3:	COMMENT	"#'\012"
! 7,0-7,3:	COMMENT	'#"\012'
! 8,0-8,3:	COMMENT	'#\\\012'
[...1015 lines suppressed...]
  173,0-173,6:	NAME	'import'
  173,7-173,10:	NAME	'sys'
  173,10-173,11:	OP	','
  173,12-173,16:	NAME	'time'
! 173,16-173,17:	NEWLINE	'\n'
  174,0-174,1:	NAME	'x'
  174,2-174,3:	OP	'='
***************
*** 644,648 ****
  174,28-174,29:	OP	'('
  174,29-174,30:	OP	')'
! 174,30-174,31:	NEWLINE	'\012'
! 175,0-175,1:	NL	'\012'
  176,0-176,0:	ENDMARKER	''
--- 644,648 ----
  174,28-174,29:	OP	'('
  174,29-174,30:	OP	')'
! 174,30-174,31:	NEWLINE	'\n'
! 175,0-175,1:	NL	'\n'
  176,0-176,0:	ENDMARKER	''