Пример #1
0
 def test_get_noqa_lines(self):
     checker = QuoteChecker(None,
                            filename=get_absolute_path('data/no_qa.py'))
     self.assertEqual(checker.get_noqa_lines(checker.get_file_contents()),
                      [2])
Пример #2
0
 def test_get_noqa_lines(self):
     checker = QuoteChecker(None, filename=get_absolute_path('data/no_qa.py'))
     self.assertEqual(checker.get_noqa_lines(checker.get_file_contents()), [2])