Skip to content

Commit

Permalink
adapt to Pygments 2.19
Browse files Browse the repository at this point in the history
  • Loading branch information
MeggyCal committed Jan 22, 2025
1 parent 4074885 commit 93f36f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_public_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_get_pygments_stylesheet(self) -> None:
except ImportError:
raise unittest.SkipTest("Pygments not available")
stylesheet = get_pygments_stylesheet(".selector")
self.assertIn(".selector .nf { color: #0000FF", stylesheet)
self.assertIn(".selector .nf { color: #00F", stylesheet)
stylesheet = get_pygments_stylesheet(".selector", style="colorful")
self.assertIn(".selector .nf { color: #0066BB", stylesheet)
self.assertIn(".selector .nf { color: #06B", stylesheet)
self.assertFalse(get_pygments_stylesheet(".selector", style=""))

0 comments on commit 93f36f7

Please sign in to comment.