1 require File.dirname(__FILE__) + '/../test_helper'
3 class PythonTest < LingoTest
5 lb = [Ohcount::LanguageBreakdown.new("python", "", "#comment", 0)]
6 assert_equal lb, Ohcount::parse(" #comment", "python")
10 lb = [Ohcount::LanguageBreakdown.new("python", "'''abc\n#not a 'comment\n'''", "", 0)]
11 assert_equal lb, Ohcount::parse("'''abc\n#not a 'comment\n'''", "python")
14 def test_comprehensive
15 verify_parse("py1.py")