diff options
author | Fabrizio Riguzzi <fabrizio.riguzzi@unife.it> | 2022-01-25 10:22:22 +0100 |
---|---|---|
committer | Fabrizio Riguzzi <fabrizio.riguzzi@unife.it> | 2022-01-25 10:22:22 +0100 |
commit | e35ad8c2169e77d94e266f633bc27f8d182e8b77 (patch) | |
tree | 66aa3e93ae33af7d7bbadb363a2777e44dc243cf /tests | |
parent | 4e7e60a874c61987228d403354f9dd47721ba949 (diff) | |
parent | 308f4c8f2992431d3b1fcdcc313b43182cb93ff3 (diff) | |
download | pygments-git-e35ad8c2169e77d94e266f633bc27f8d182e8b77.tar.gz |
Merge branch 'master' of github.com:friguzzi/pygments
Diffstat (limited to 'tests')
36 files changed, 455 insertions, 34 deletions
diff --git a/tests/__init__.py b/tests/__init__.py index 0b017eee..3248d17a 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,6 +2,6 @@ Pygments test package ~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/conftest.py b/tests/conftest.py index 2b279423..e3cb2c0c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -12,7 +12,7 @@ The directory must match the alias of the lexer to be used. Populate only the input, then just `--update-goldens`. - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/examplefiles/clojure/loggers.cljc b/tests/examplefiles/clojure/loggers.cljc new file mode 100644 index 00000000..d9a6722f --- /dev/null +++ b/tests/examplefiles/clojure/loggers.cljc @@ -0,0 +1,51 @@ +(ns re-frame.loggers + (:require + [clojure.set :refer [difference]] + #?@(:clj [[clojure.string :as str] + [clojure.tools.logging :as log]]))) + +#?(:clj (defn log [level & args] + (log/log level (if (= 1 (count args)) + (first args) + (str/join " " args))))) + + +;; XXX should loggers be put in the registrar ?? +(def ^:private loggers + "Holds the current set of logging functions. + By default, re-frame uses the functions provided by js/console. + Use `set-loggers!` to change these defaults + " + (atom #?(:cljs {:log (js/console.log.bind js/console) + :warn (js/console.warn.bind js/console) + :error (js/console.error.bind js/console) + :debug (js/console.debug.bind js/console) + :group (if (.-group js/console) ;; console.group does not exist < IE 11 + (js/console.group.bind js/console) + (js/console.log.bind js/console)) + :groupEnd (if (.-groupEnd js/console) ;; console.groupEnd does not exist < IE 11 + (js/console.groupEnd.bind js/console) + #())}) + ;; clojure versions + #?(:clj {:log (partial log :info) + :warn (partial log :warn) + :error (partial log :error) + :debug (partial log :debug) + :group (partial log :info) + :groupEnd #()}))) + +(defn console + [level & args] + (assert (contains? @loggers level) (str "re-frame: log called with unknown level: " level)) + (apply (level @loggers) args)) + + +(defn set-loggers! + [new-loggers] + (assert (empty? (difference (set (keys new-loggers)) (-> @loggers keys set))) "Unknown keys in new-loggers") + (swap! loggers merge new-loggers)) + +(defn get-loggers + "Get the current logging functions used by re-frame." + [] + @loggers) diff --git a/tests/examplefiles/clojure/loggers.cljc.output b/tests/examplefiles/clojure/loggers.cljc.output new file mode 100644 index 00000000..11861980 --- /dev/null +++ b/tests/examplefiles/clojure/loggers.cljc.output @@ -0,0 +1,370 @@ +'(' Punctuation +'ns ' Keyword.Declaration +'re-frame.loggers' Name.Variable +'\n ' Text +'(' Punctuation +':require' Literal.String.Symbol +'\n ' Text +'[' Punctuation +'clojure.set' Name.Variable +' ' Text +':refer' Literal.String.Symbol +' ' Text +'[' Punctuation +'difference' Name.Variable +']' Punctuation +']' Punctuation +'\n ' Text +'#' Operator +'?' Name.Variable +'@' Operator +'(' Punctuation +':clj' Literal.String.Symbol +' ' Text +'[' Punctuation +'[' Punctuation +'clojure.string' Name.Variable +' ' Text +':as' Literal.String.Symbol +' ' Text +'str' Name.Variable +']' Punctuation +'\n ' Text +'[' Punctuation +'clojure.tools.logging' Name.Variable +' ' Text +':as' Literal.String.Symbol +' ' Text +'log' Name.Variable +']' Punctuation +']' Punctuation +')' Punctuation +')' Punctuation +')' Punctuation +'\n\n' Text + +'#' Operator +'?' Name.Variable +'(' Punctuation +':clj' Literal.String.Symbol +' ' Text +'(' Punctuation +'defn ' Keyword.Declaration +'log' Name.Variable +' ' Text +'[' Punctuation +'level' Name.Variable +' ' Text +'&' Operator +' ' Text +'args' Name.Variable +']' Punctuation +'\n ' Text +'(' Punctuation +'log/log' Name.Function +' ' Text +'level' Name.Variable +' ' Text +'(' Punctuation +'if ' Keyword +'(' Punctuation +'= ' Name.Builtin +'1' Literal.Number.Integer +' ' Text +'(' Punctuation +'count ' Name.Builtin +'args' Name.Variable +')' Punctuation +')' Punctuation +'\n ' Text +'(' Punctuation +'first ' Name.Builtin +'args' Name.Variable +')' Punctuation +'\n ' Text +'(' Punctuation +'str/join' Name.Function +' ' Text +'" "' Literal.String +' ' Text +'args' Name.Variable +')' Punctuation +')' Punctuation +')' Punctuation +')' Punctuation +')' Punctuation +'\n\n\n' Text + +';; XXX should loggers be put in the registrar ??' Comment.Single +'\n' Text + +'(' Punctuation +'def ' Keyword +'^' Operator +':private' Literal.String.Symbol +' ' Text +'loggers' Name.Variable +'\n ' Text +'"Holds the current set of logging functions.\n By default, re-frame uses the functions provided by js/console.\n Use `set-loggers!` to change these defaults\n "' Literal.String +'\n ' Text +'(' Punctuation +'atom' Name.Function +' ' Text +'#' Operator +'?' Name.Variable +'(' Punctuation +':cljs' Literal.String.Symbol +' ' Text +'{' Punctuation +':log' Literal.String.Symbol +' ' Text +'(' Punctuation +'js/console.log.bind' Name.Function +' ' Text +'js/console' Name.Variable +')' Punctuation +'\n ' Text +':warn' Literal.String.Symbol +' ' Text +'(' Punctuation +'js/console.warn.bind' Name.Function +' ' Text +'js/console' Name.Variable +')' Punctuation +'\n ' Text +':error' Literal.String.Symbol +' ' Text +'(' Punctuation +'js/console.error.bind' Name.Function +' ' Text +'js/console' Name.Variable +')' Punctuation +'\n ' Text +':debug' Literal.String.Symbol +' ' Text +'(' Punctuation +'js/console.debug.bind' Name.Function +' ' Text +'js/console' Name.Variable +')' Punctuation +'\n ' Text +':group' Literal.String.Symbol +' ' Text +'(' Punctuation +'if ' Keyword +'(' Punctuation +'.-group' Name.Function +' ' Text +'js/console' Name.Variable +')' Punctuation +' ' Text +';; console.group does not exist < IE 11' Comment.Single +'\n ' Text +'(' Punctuation +'js/console.group.bind' Name.Function +' ' Text +'js/console' Name.Variable +')' Punctuation +'\n ' Text +'(' Punctuation +'js/console.log.bind' Name.Function +' ' Text +'js/console' Name.Variable +')' Punctuation +')' Punctuation +'\n ' Text +':groupEnd' Literal.String.Symbol +' ' Text +'(' Punctuation +'if ' Keyword +'(' Punctuation +'.-groupEnd' Name.Function +' ' Text +'js/console' Name.Variable +')' Punctuation +' ' Text +';; console.groupEnd does not exist < IE 11' Comment.Single +'\n ' Text +'(' Punctuation +'js/console.groupEnd.bind' Name.Function +' ' Text +'js/console' Name.Variable +')' Punctuation +'\n ' Text +'#' Operator +'(' Punctuation +')' Punctuation +')' Punctuation +'}' Punctuation +')' Punctuation +'\n ' Text +';; clojure versions' Comment.Single +'\n ' Text +'#' Operator +'?' Name.Variable +'(' Punctuation +':clj' Literal.String.Symbol +' ' Text +'{' Punctuation +':log' Literal.String.Symbol +' ' Text +'(' Punctuation +'partial ' Name.Builtin +'log' Name.Variable +' ' Text +':info' Literal.String.Symbol +')' Punctuation +'\n ' Text +':warn' Literal.String.Symbol +' ' Text +'(' Punctuation +'partial ' Name.Builtin +'log' Name.Variable +' ' Text +':warn' Literal.String.Symbol +')' Punctuation +'\n ' Text +':error' Literal.String.Symbol +' ' Text +'(' Punctuation +'partial ' Name.Builtin +'log' Name.Variable +' ' Text +':error' Literal.String.Symbol +')' Punctuation +'\n ' Text +':debug' Literal.String.Symbol +' ' Text +'(' Punctuation +'partial ' Name.Builtin +'log' Name.Variable +' ' Text +':debug' Literal.String.Symbol +')' Punctuation +'\n ' Text +':group' Literal.String.Symbol +' ' Text +'(' Punctuation +'partial ' Name.Builtin +'log' Name.Variable +' ' Text +':info' Literal.String.Symbol +')' Punctuation +'\n ' Text +':groupEnd' Literal.String.Symbol +' ' Text +'#' Operator +'(' Punctuation +')' Punctuation +'}' Punctuation +')' Punctuation +')' Punctuation +')' Punctuation +'\n\n' Text + +'(' Punctuation +'defn ' Keyword.Declaration +'console' Name.Variable +'\n ' Text +'[' Punctuation +'level' Name.Variable +' ' Text +'&' Operator +' ' Text +'args' Name.Variable +']' Punctuation +'\n ' Text +'(' Punctuation +'assert ' Name.Builtin +'(' Punctuation +'contains? ' Name.Builtin +'@' Operator +'loggers' Name.Variable +' ' Text +'level' Name.Variable +')' Punctuation +' ' Text +'(' Punctuation +'str ' Name.Builtin +'"re-frame: log called with unknown level: "' Literal.String +' ' Text +'level' Name.Variable +')' Punctuation +')' Punctuation +'\n ' Text +'(' Punctuation +'apply ' Name.Builtin +'(' Punctuation +'level' Name.Function +' ' Text +'@' Operator +'loggers' Name.Variable +')' Punctuation +' ' Text +'args' Name.Variable +')' Punctuation +')' Punctuation +'\n\n\n' Text + +'(' Punctuation +'defn ' Keyword.Declaration +'set-loggers!' Name.Variable +'\n ' Text +'[' Punctuation +'new-loggers' Name.Variable +']' Punctuation +'\n ' Text +'(' Punctuation +'assert ' Name.Builtin +' ' Text +'(' Punctuation +'empty?' Name.Function +' ' Text +'(' Punctuation +'difference ' Name.Builtin +'(' Punctuation +'set ' Name.Builtin +'(' Punctuation +'keys ' Name.Builtin +'new-loggers' Name.Variable +')' Punctuation +')' Punctuation +' ' Text +'(' Punctuation +'-> ' Name.Builtin +'@' Operator +'loggers' Name.Variable +' ' Text +'keys ' Name.Builtin +'set' Name.Variable +')' Punctuation +')' Punctuation +')' Punctuation +' ' Text +'"Unknown keys in new-loggers"' Literal.String +')' Punctuation +'\n ' Text +'(' Punctuation +'swap!' Name.Function +' ' Text +'loggers' Name.Variable +' ' Text +'merge ' Name.Builtin +'new-loggers' Name.Variable +')' Punctuation +')' Punctuation +'\n\n' Text + +'(' Punctuation +'defn ' Keyword.Declaration +'get-loggers' Name.Variable +'\n ' Text +'"Get the current logging functions used by re-frame."' Literal.String +'\n ' Text +'[' Punctuation +']' Punctuation +'\n ' Text +'@' Operator +'loggers' Name.Variable +')' Punctuation +'\n' Text diff --git a/tests/snippets/conftest.py b/tests/snippets/conftest.py index b4766421..b5ee33c6 100644 --- a/tests/snippets/conftest.py +++ b/tests/snippets/conftest.py @@ -12,7 +12,7 @@ The directory must match the alias of the lexer to be used. Populate only the input, then just `--update-goldens`. - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py index 24e42ca2..1767572f 100644 --- a/tests/test_basic_api.py +++ b/tests/test_basic_api.py @@ -2,7 +2,7 @@ Pygments basic API tests ~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py index 52009b92..c05fd01a 100644 --- a/tests/test_cmdline.py +++ b/tests/test_cmdline.py @@ -2,7 +2,7 @@ Command line test ~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_coffeescript.py b/tests/test_coffeescript.py index 56af6ba4..3d167274 100644 --- a/tests/test_coffeescript.py +++ b/tests/test_coffeescript.py @@ -2,7 +2,7 @@ CoffeeScript tests ~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_crystal.py b/tests/test_crystal.py index f4d9e858..962d9e5f 100644 --- a/tests/test_crystal.py +++ b/tests/test_crystal.py @@ -2,7 +2,7 @@ Basic CrystalLexer Test ~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_data.py b/tests/test_data.py index ca58dbf1..cbe09ac3 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -2,7 +2,7 @@ Data Tests ~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_devicetree_lexer.py b/tests/test_devicetree_lexer.py index fd72b15c..e3aeb4d4 100644 --- a/tests/test_devicetree_lexer.py +++ b/tests/test_devicetree_lexer.py @@ -2,7 +2,7 @@ Devicetree Lexer Tests ~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_guess.py b/tests/test_guess.py index 83a8a718..8adf1613 100644 --- a/tests/test_guess.py +++ b/tests/test_guess.py @@ -2,7 +2,7 @@ Pygments basic API tests ~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_html_formatter.py b/tests/test_html_formatter.py index 20661c9e..ac73b616 100644 --- a/tests/test_html_formatter.py +++ b/tests/test_html_formatter.py @@ -2,7 +2,7 @@ Pygments HTML formatter tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_html_lexer.py b/tests/test_html_lexer.py index eda2cd76..39a24c60 100644 --- a/tests/test_html_lexer.py +++ b/tests/test_html_lexer.py @@ -2,7 +2,7 @@ HTML Lexer Tests ~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_inherit.py b/tests/test_inherit.py index 74d04b7d..a2763784 100644 --- a/tests/test_inherit.py +++ b/tests/test_inherit.py @@ -2,7 +2,7 @@ Tests for inheritance in RegexLexer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_irc_formatter.py b/tests/test_irc_formatter.py index 4f0e9570..bedef95d 100644 --- a/tests/test_irc_formatter.py +++ b/tests/test_irc_formatter.py @@ -2,7 +2,7 @@ Pygments IRC formatter tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_java.py b/tests/test_java.py index e3f8182d..a50e862e 100644 --- a/tests/test_java.py +++ b/tests/test_java.py @@ -2,7 +2,7 @@ Basic JavaLexer Test ~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_javascript.py b/tests/test_javascript.py index 740b7831..05f74e27 100644 --- a/tests/test_javascript.py +++ b/tests/test_javascript.py @@ -2,7 +2,7 @@ Javascript tests ~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_latex_formatter.py b/tests/test_latex_formatter.py index d22499aa..2bfd3348 100644 --- a/tests/test_latex_formatter.py +++ b/tests/test_latex_formatter.py @@ -2,7 +2,7 @@ Pygments LaTeX formatter tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_markdown_lexer.py b/tests/test_markdown_lexer.py index cbbc1a70..46b29112 100644 --- a/tests/test_markdown_lexer.py +++ b/tests/test_markdown_lexer.py @@ -2,7 +2,7 @@ Pygments Markdown lexer tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_modeline.py b/tests/test_modeline.py index 9fa7c849..86acbd7c 100644 --- a/tests/test_modeline.py +++ b/tests/test_modeline.py @@ -2,7 +2,7 @@ Tests for the vim modeline feature ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_mysql.py b/tests/test_mysql.py index 6701ab36..39da8f5f 100644 --- a/tests/test_mysql.py +++ b/tests/test_mysql.py @@ -2,7 +2,7 @@ Pygments MySQL lexer tests ~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_pangomarkup_formatter.py b/tests/test_pangomarkup_formatter.py index 5ab89f54..ed10e19b 100644 --- a/tests/test_pangomarkup_formatter.py +++ b/tests/test_pangomarkup_formatter.py @@ -2,7 +2,7 @@ Pygments Pango Markup formatter tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_perllexer.py b/tests/test_perllexer.py index 7c05ea88..15d06af3 100644 --- a/tests/test_perllexer.py +++ b/tests/test_perllexer.py @@ -2,7 +2,7 @@ Pygments regex lexer tests ~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_regexlexer.py b/tests/test_regexlexer.py index 45ae20b1..5235d2c2 100644 --- a/tests/test_regexlexer.py +++ b/tests/test_regexlexer.py @@ -2,7 +2,7 @@ Pygments regex lexer tests ~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_regexopt.py b/tests/test_regexopt.py index 22440b11..2116467e 100644 --- a/tests/test_regexopt.py +++ b/tests/test_regexopt.py @@ -2,7 +2,7 @@ Tests for pygments.regexopt ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_robotframework_lexer.py b/tests/test_robotframework_lexer.py index d768885f..807fbc4e 100644 --- a/tests/test_robotframework_lexer.py +++ b/tests/test_robotframework_lexer.py @@ -2,7 +2,7 @@ Pygments Robot Framework lexer tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_rtf_formatter.py b/tests/test_rtf_formatter.py index a6c048cd..1f3ee6e3 100644 --- a/tests/test_rtf_formatter.py +++ b/tests/test_rtf_formatter.py @@ -2,7 +2,7 @@ Pygments RTF formatter tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_sql.py b/tests/test_sql.py index 8fbd3eea..e0a20f9b 100644 --- a/tests/test_sql.py +++ b/tests/test_sql.py @@ -2,7 +2,7 @@ Pygments SQL lexers tests ~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_terminal_formatter.py b/tests/test_terminal_formatter.py index edc704d8..c1a7ec7b 100644 --- a/tests/test_terminal_formatter.py +++ b/tests/test_terminal_formatter.py @@ -2,7 +2,7 @@ Pygments terminal formatter tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_tnt.py b/tests/test_tnt.py index b52b35c6..c2282ac4 100644 --- a/tests/test_tnt.py +++ b/tests/test_tnt.py @@ -2,7 +2,7 @@ Typograhic Number Theory tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_token.py b/tests/test_token.py index 9f08fc25..c1554756 100644 --- a/tests/test_token.py +++ b/tests/test_token.py @@ -2,7 +2,7 @@ Test suite for the token module ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_unistring.py b/tests/test_unistring.py index cf58d10d..65fb1fc5 100644 --- a/tests/test_unistring.py +++ b/tests/test_unistring.py @@ -2,7 +2,7 @@ Test suite for the unistring module ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_using_api.py b/tests/test_using_api.py index 40ed189d..7b0b0303 100644 --- a/tests/test_using_api.py +++ b/tests/test_using_api.py @@ -2,7 +2,7 @@ Pygments tests for using() ~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_util.py b/tests/test_util.py index ab4826bf..d140836d 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -2,7 +2,7 @@ Test suite for the util module ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/tests/test_words.py b/tests/test_words.py index 27392596..bbc9cd22 100644 --- a/tests/test_words.py +++ b/tests/test_words.py @@ -2,7 +2,7 @@ Pygments tests for words() ~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ |