diff --git a/tests.py b/tests.py index a314143..f9dcf0b 100755 --- a/tests.py +++ b/tests.py @@ -16,7 +16,7 @@ @contextlib.contextmanager -def closed_tempfile(suffix, text=None, dir_name=None, check_case=False): +def closed_tempfile(suffix, text=None, dir_name=None): file_name = None try: if dir_name: @@ -27,10 +27,6 @@ def closed_tempfile(suffix, text=None, dir_name=None, check_case=False): if text: test_file.write(text) test_file.flush() - if check_case and file_name != file_name.lower(): - # there is a bug in pandoc which can't work with uppercase lua files - # https://github.com/jgm/pandoc/issues/4610 - raise unittest.SkipTest("pandoc has problems with uppercase filenames, got %s" % file_name) yield file_name finally: if dir_name: @@ -187,8 +183,7 @@ def test_basic_conversion_from_http_url(self): def test_convert_with_custom_writer(self): lua_file_content = self.create_sample_lua() with closed_tempfile('.md', text='# title\n') as file_name: - with closed_tempfile('.lua', text=lua_file_content, dir_name="foo-bar+baz", - check_case=True) as lua_file_name: + with closed_tempfile('.lua', text=lua_file_content, dir_name="foo-bar+baz") as lua_file_name: expected = u'