コード例 #1
0
ファイル: test_license.py プロジェクト: wzab/vunit
 def test_that_license_file_matches_vunit_license_text(self):
     with open(join(ROOT, 'LICENSE.txt'), "rU") as lic:
         self.assertEqual(lic.read(), license_text())
コード例 #2
0
 def test_that_license_file_matches_vunit_license_text(self):
     with catch_warnings():
         simplefilter("ignore", category=DeprecationWarning)
         with (ROOT / "LICENSE.txt").open("rU") as lic:
             self.assertEqual(lic.read(), license_text())
コード例 #3
0
ファイル: test_license.py プロジェクト: barri/vunit
 def test_that_license_file_matches_vunit_license_text(self):
     with open(join(ROOT, 'LICENSE.txt'), "rU") as lic:
         self.assertEqual(lic.read(), license_text())
コード例 #4
0
 def test_that_license_file_matches_vunit_license_text(self):
     with catch_warnings():
         simplefilter("ignore", category=DeprecationWarning)
         with open(join(ROOT, 'LICENSE.txt'), "rU") as lic:
             self.assertEqual(lic.read(), license_text())