From a329d2befd9588efeeca0d49d5ef5e7bc0d28cfd Mon Sep 17 00:00:00 2001 From: Adi Roiban Date: Sun, 16 Feb 2014 17:57:29 +0200 Subject: [PATCH] Update py3. --- test/test_lexer.py | 2 +- test/test_parser.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_lexer.py b/test/test_lexer.py index d001202..ff2f803 100644 --- a/test/test_lexer.py +++ b/test/test_lexer.py @@ -1,10 +1,10 @@ """ Unit tests for the lexer. """ -from StringIO import StringIO from tempfile import NamedTemporaryFile import unittest +from six import StringIO from lesscpy.lessc.lexer import LessLexer diff --git a/test/test_parser.py b/test/test_parser.py index 256ce2a..6653c3c 100644 --- a/test/test_parser.py +++ b/test/test_parser.py @@ -1,11 +1,13 @@ """ Unit test for the parser. """ -from StringIO import StringIO import unittest +from six import StringIO + from lesscpy.lessc.parser import LessParser + class TestLessParser(unittest.TestCase): """ Unit tests for LessParser.