diff --git a/test/test_compilation/datadir.tex.control b/test/test_compilation/datadir.tex.control index 4f6c8521..90c8d34b 100644 --- a/test/test_compilation/datadir.tex.control +++ b/test/test_compilation/datadir.tex.control @@ -32,7 +32,6 @@ guitar, \usepackage{lmodern} -\PassOptionsToPackage{english}{babel} \PassOptionsToPackage{english}{babel} \usepackage[english]{babel} \lang{english} diff --git a/test/test_compilation/test_compilation.py b/test/test_compilation/test_compilation.py index a3a402d4..11bb197b 100644 --- a/test/test_compilation/test_compilation.py +++ b/test/test_compilation/test_compilation.py @@ -48,8 +48,6 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): def _create_test(cls, base): """Return a function testing that `base` compiles.""" - @unittest.skipIf('TRAVIS' in os.environ, - "Travis does not support lualatex compilation yet") def test_compile(self): """Test that `base` is correctly compiled.""" if base is None: @@ -86,7 +84,9 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): ) # Check compilation - self.assertEqual(0, self.compile_songbook(songbook)) + if 'TRAVIS' not in os.environ: + # Travis does not support lualatex compilation yet + self.assertEqual(0, self.compile_songbook(songbook)) test_compile.__doc__ = ( "Test that '{base}' is correctly compiled."