Ignore:
Timestamp:
02/16/06 17:22:59 (9 years ago)
Author:
xi
Message:

Some renaming.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pyyaml3000/tests/test_tokens.py

    r44 r46  
    22import test_appliance 
    33 
     4from yaml.reader import * 
     5from yaml.tokens import * 
    46from yaml.scanner import * 
    57 
     
    5153        tokens2 = file(tokens_filename, 'rb').read().split() 
    5254        try: 
    53             scanner = Scanner(data_filename, file(data_filename, 'rb').read()) 
     55            scanner = Scanner(Reader(file(data_filename, 'rb'))) 
    5456            tokens1 = [] 
    5557            while not isinstance(scanner.peek_token(), EndToken): 
     
    7375            tokens = None 
    7476            try: 
    75                 scanner = Scanner(filename, file(filename, 'rb').read()) 
     77                scanner = Scanner(Reader(file(filename, 'rb'))) 
    7678                tokens = [] 
    7779                while not isinstance(scanner.peek_token(), EndToken): 
Note: See TracChangeset for help on using the changeset viewer.