Skip to content

Commit

Permalink
refactor,test: huge test_main.py into pieces
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Aug 8, 2024
1 parent 1afd2d3 commit b9b4096
Show file tree
Hide file tree
Showing 4 changed files with 403 additions and 373 deletions.
6 changes: 6 additions & 0 deletions src/darker/tests/examples.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Example Python source code for testing."""

A_PY = ["import sys", "import os", "print( '{}'.format('42'))", ""]
A_PY_BLACK = ["import sys", "import os", "", 'print("{}".format("42"))', ""]
A_PY_BLACK_ISORT = ["import os", "import sys", "", 'print("{}".format("42"))', ""]
A_PY_BLACK_FLYNT = ["import sys", "import os", "", 'print("42")', ""]
Loading

0 comments on commit b9b4096

Please sign in to comment.